File tree 2 files changed +8
-3
lines changed 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1265,6 +1265,11 @@ Wed Jun 12 14:04:11 CEST 2002
1265
1265
1266
1266
- Applied Lee Kindness' patch to fix one of memory allocation with
1267
1267
floating point numbers.
1268
+
1269
+ Mon Jun 17 15:23:51 CEST 2002
1270
+
1271
+ - Fixed parser bug in pgc.l. Octal numbers in single quotes are now
1272
+ correctly handled.
1268
1273
- Set ecpg version to 2.10.0.
1269
1274
- Set library version to 3.4.0.
1270
1275
Original file line number Diff line number Diff line change 12
12
*
13
13
*
14
14
* IDENTIFICATION
15
- * $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.92 2002/05/20 09:29:41 meskes Exp $
15
+ * $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.93 2002/06/17 13:23:27 meskes Exp $
16
16
*
17
17
*-------------------------------------------------------------------------
18
18
*/
@@ -372,13 +372,13 @@ cppline {space}*#(.*\\{space})*.*
372
372
<xq >{xqstop } {
373
373
BEGIN (state_before);
374
374
yylval.str = mm_strdup (literalbuf);
375
+ printf (" MM: %s\n " , yylval.str );
375
376
return SCONST;
376
377
}
377
378
<xq >{xqdouble } { addlitchar (' \' ' ); }
378
379
<xq >{xqinside } { addlit (yytext, yyleng); }
379
380
<xq >{xqescape } { addlit (yytext, yyleng); }
380
- <xq >{xqoctesc } { unsigned char c = strtoul (yytext+1 , NULL , 8 );
381
- addlitchar (c); }
381
+ <xq >{xqoctesc } { addlit (yytext, yyleng); }
382
382
<xq >{xqcat } { /* ignore */ }
383
383
384
384
<xq ><<EOF>> { mmerror (PARSE_ERROR, ET_ERROR, " Unterminated quoted string" ); }
You can’t perform that action at this time.
0 commit comments