12
12
*
13
13
*
14
14
* IDENTIFICATION
15
- * $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.121 2003/10/19 13:22:33 meskes Exp $
15
+ * $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.122 2003/10/31 14:10:41 meskes Exp $
16
16
*
17
17
*-------------------------------------------------------------------------
18
18
*/
@@ -328,7 +328,7 @@ cppline {space}*#(.*\\{space})+.*
328
328
<xc >{xcinside } { ECHO; }
329
329
<xc >{op_chars } { ECHO; }
330
330
331
- <xc ><<EOF>> { mmerror (PARSE_ERROR, ET_ERROR , " Unterminated /* comment" ); }
331
+ <xc ><<EOF>> { mmerror (PARSE_ERROR, ET_FATAL , " Unterminated /* comment" ); }
332
332
333
333
<SQL >{xbstart } {
334
334
token_start = yytext;
@@ -348,7 +348,7 @@ cppline {space}*#(.*\\{space})+.*
348
348
<xb >{xbinside } { addlit (yytext, yyleng); }
349
349
<xh >{xhcat } |
350
350
<xb >{xbcat } { /* ignore */ }
351
- <xb ><<EOF>> { mmerror (PARSE_ERROR, ET_ERROR , " Unterminated bit string" ); }
351
+ <xb ><<EOF>> { mmerror (PARSE_ERROR, ET_FATAL , " Unterminated bit string" ); }
352
352
353
353
<SQL >{xhstart } {
354
354
token_start = yytext;
@@ -361,7 +361,7 @@ cppline {space}*#(.*\\{space})+.*
361
361
return XCONST;
362
362
}
363
363
364
- <xh ><<EOF>> { mmerror (PARSE_ERROR, ET_ERROR , " Unterminated hexadecimal integer" ); }
364
+ <xh ><<EOF>> { mmerror (PARSE_ERROR, ET_FATAL , " Unterminated hexadecimal integer" ); }
365
365
<SQL >{xnstart } {
366
366
/* National character.
367
367
* Need to remember type info to flow it forward into the parser.
@@ -386,9 +386,9 @@ cppline {space}*#(.*\\{space})+.*
386
386
<xq >{xqinside } { addlit (yytext, yyleng); }
387
387
<xq >{xqescape } { addlit (yytext, yyleng); }
388
388
<xq >{xqoctesc } { addlit (yytext, yyleng); }
389
- <xq >{xqcat } { /* ignore */ }
389
+ <xq >{xqcat } { /* ignore */ }
390
390
391
- <xq ><<EOF>> { mmerror (PARSE_ERROR, ET_ERROR , " Unterminated quoted string" ); }
391
+ <xq ><<EOF>> { mmerror (PARSE_ERROR, ET_FATAL , " Unterminated quoted string" ); }
392
392
393
393
<SQL >{xdstart } {
394
394
state_before = YYSTATE;
@@ -409,7 +409,7 @@ cppline {space}*#(.*\\{space})+.*
409
409
}
410
410
<xd >{xddouble } { addlitchar (' "' ); }
411
411
<xd >{xdinside } { addlit (yytext, yyleng); }
412
- <xd ,xdc ><<EOF>> { mmerror (PARSE_ERROR, ET_ERROR , " Unterminated quoted identifier" ); }
412
+ <xd ,xdc ><<EOF>> { mmerror (PARSE_ERROR, ET_FATAL , " Unterminated quoted identifier" ); }
413
413
<C ,SQL >{xdstart } {
414
414
state_before = YYSTATE;
415
415
BEGIN (xdc);
0 commit comments