]> granicus.if.org Git - postgresql/commitdiff
Fix misscanning of """" (an identifier consisting of one double-quote).
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 4 Sep 2001 00:19:39 +0000 (00:19 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 4 Sep 2001 00:19:39 +0000 (00:19 +0000)
src/backend/parser/scan.l

index 0f876e7718c2c680862b2ef5894d0032751e9739..3f64341d5572c1b464fc9ce950e63d5ba54844b8 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * 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;
                                }
 <xd>{xddouble} {
-                                       addlit(yytext, yyleng-1);
+                                       addlit(yytext+1, yyleng-1);
                                }
 <xd>{xdinside} {
                                        addlit(yytext, yyleng);