Commit d1256104 authored by Michael Meskes's avatar Michael Meskes

*** empty log message ***

parent 69c617e9
...@@ -599,5 +599,9 @@ Thu Jun 10 21:09:12 CEST 1999 ...@@ -599,5 +599,9 @@ Thu Jun 10 21:09:12 CEST 1999
Wed Jun 16 20:21:42 CEST 1999 Wed Jun 16 20:21:42 CEST 1999
- Fixed another typo in preproc.y. - Fixed another typo in preproc.y.
Thu Jun 24 18:06:43 CEST 1999
- Fixed C comment bug that caused ecpg to not accept quoted quotes.
- Set library version to 3.0.0 - Set library version to 3.0.0
- Set ecpg version to 2.6.0 - Set ecpg version to 2.6.0
...@@ -119,7 +119,9 @@ xqcat {quote}{space}*\n{space}*{quote} ...@@ -119,7 +119,9 @@ xqcat {quote}{space}*\n{space}*{quote}
dquote \" dquote \"
xdstart {dquote} xdstart {dquote}
xdstop {dquote} xdstop {dquote}
xdcqdq \\\"
xdinside [^"]* xdinside [^"]*
xdcinside ({xdinside}|{xdcqdq})*
/* Comments /* Comments
* Ignored by the scanner and parser. * Ignored by the scanner and parser.
...@@ -287,7 +289,7 @@ cppline {space}*#.*(\\{space}*\n)*\n* ...@@ -287,7 +289,7 @@ cppline {space}*#.*(\\{space}*\n)*\n*
yylval.str = mm_strdup(literal); yylval.str = mm_strdup(literal);
return CSTRING; return CSTRING;
} }
<xdc>{xdinside} { <xdc>{xdcinside} {
if ((llen+yyleng) > (MAX_PARSE_BUFFER - 1)) if ((llen+yyleng) > (MAX_PARSE_BUFFER - 1))
yyerror("ERROR: quoted string parse buffer exceeded"); yyerror("ERROR: quoted string parse buffer exceeded");
memcpy(literal+llen, yytext, yyleng+1); memcpy(literal+llen, yytext, yyleng+1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment