Fix misscanning of """" (an identifier consisting of one double-quote).
This commit is contained in:
parent
ff5e8a26a2
commit
309401a7b6
@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.88 2001/03/22 17:41:47 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.89 2001/09/04 00:19:39 petere Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -375,7 +375,7 @@ other .
|
|||||||
return IDENT;
|
return IDENT;
|
||||||
}
|
}
|
||||||
<xd>{xddouble} {
|
<xd>{xddouble} {
|
||||||
addlit(yytext, yyleng-1);
|
addlit(yytext+1, yyleng-1);
|
||||||
}
|
}
|
||||||
<xd>{xdinside} {
|
<xd>{xdinside} {
|
||||||
addlit(yytext, yyleng);
|
addlit(yytext, yyleng);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user