mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 00:02:53 -04:00
Repair typos: <xb> EOF rule should be <xh>, likewise <xq> to <xd>
This commit is contained in:
parent
15115344f0
commit
2b23e86447
@ -12,7 +12,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.54 2000/03/15 19:09:10 meskes Exp $
|
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.55 2000/03/18 05:44:21 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -319,7 +319,7 @@ cppline {space}*#(.*\\{line_end})*.*
|
|||||||
return ICONST;
|
return ICONST;
|
||||||
}
|
}
|
||||||
|
|
||||||
<xb><<EOF>> { mmerror(ET_ERROR, "Unterminated hexadecimal integer"); }
|
<xh><<EOF>> { mmerror(ET_ERROR, "Unterminated hexadecimal integer"); }
|
||||||
|
|
||||||
{xqstart} {
|
{xqstart} {
|
||||||
state_before = YYSTATE;
|
state_before = YYSTATE;
|
||||||
@ -355,7 +355,7 @@ cppline {space}*#(.*\\{line_end})*.*
|
|||||||
<xd>{xdinside} {
|
<xd>{xdinside} {
|
||||||
addlit(yytext, yyleng);
|
addlit(yytext, yyleng);
|
||||||
}
|
}
|
||||||
<xq><<EOF>> { mmerror(ET_ERROR, "Unterminated quoted identifier"); }
|
<xd><<EOF>> { mmerror(ET_ERROR, "Unterminated quoted identifier"); }
|
||||||
<SQL>{typecast} { return TYPECAST; }
|
<SQL>{typecast} { return TYPECAST; }
|
||||||
<SQL>{self} { /*
|
<SQL>{self} { /*
|
||||||
* We may find a ';' inside a structure
|
* We may find a ';' inside a structure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user