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

Commit 2b23e86

Browse files
committed
Repair typos: <xb> EOF rule should be <xh>, likewise <xq> to <xd>
1 parent 1511534 commit 2b23e86

File tree

1 file changed

+3
-3
lines changed
  • src/interfaces/ecpg/preproc

1 file changed

+3
-3
lines changed

src/interfaces/ecpg/preproc/pgc.l

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.54 2000/03/15 19:09:10 meskes Exp $
15+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.55 2000/03/18 05:44:21 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -319,7 +319,7 @@ cppline {space}*#(.*\\{line_end})*.*
319319
return ICONST;
320320
}
321321

322-
<xb><<EOF>> { mmerror(ET_ERROR, "Unterminated hexadecimal integer"); }
322+
<xh><<EOF>> { mmerror(ET_ERROR, "Unterminated hexadecimal integer"); }
323323

324324
{xqstart} {
325325
state_before = YYSTATE;
@@ -355,7 +355,7 @@ cppline {space}*#(.*\\{line_end})*.*
355355
<xd>{xdinside} {
356356
addlit(yytext, yyleng);
357357
}
358-
<xq><<EOF>> { mmerror(ET_ERROR, "Unterminated quoted identifier"); }
358+
<xd><<EOF>> { mmerror(ET_ERROR, "Unterminated quoted identifier"); }
359359
<SQL>{typecast} { return TYPECAST; }
360360
<SQL>{self} { /*
361361
* We may find a ';' inside a structure

0 commit comments

Comments
 (0)