Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 309401a

Browse files
committed
Fix misscanning of """" (an identifier consisting of one double-quote).
1 parent ff5e8a2 commit 309401a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/parser/scan.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.88 2001/03/22 17:41:47 tgl Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.89 2001/09/04 00:19:39 petere Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -375,7 +375,7 @@ other .
375375
return IDENT;
376376
}
377377
<xd>{xddouble} {
378-
addlit(yytext, yyleng-1);
378+
addlit(yytext+1, yyleng-1);
379379
}
380380
<xd>{xdinside} {
381381
addlit(yytext, yyleng);

0 commit comments

Comments
 (0)