|
9 | 9 | *
|
10 | 10 | *
|
11 | 11 | * IDENTIFICATION
|
12 |
| - * $PostgreSQL: pgsql/src/backend/bootstrap/bootscanner.l,v 1.35 2004/06/03 02:08:02 tgl Exp $ |
| 12 | + * $PostgreSQL: pgsql/src/backend/bootstrap/bootscanner.l,v 1.36 2004/06/09 19:49:56 tgl Exp $ |
13 | 13 | *
|
14 | 14 | *-------------------------------------------------------------------------
|
15 | 15 | */
|
|
45 | 45 | #definefprintf(file, fmt, msg) ereport(ERROR, (errmsg_internal("%s", msg)))
|
46 | 46 |
|
47 | 47 |
|
48 |
| -staticintyyline;/* keep track of the line number for error reporting*/ |
| 48 | +staticintyyline =1;/* line number for error reporting*/ |
49 | 49 |
|
50 | 50 | %}
|
51 | 51 |
|
@@ -135,7 +135,7 @@ insert{ return(INSERT_TUPLE); }
|
135 | 135 | %%
|
136 | 136 |
|
137 | 137 | void
|
138 |
| -yyerror(constchar *str) |
| 138 | +yyerror(constchar *message) |
139 | 139 | {
|
140 |
| -elog(ERROR,"syntax errorat line %d: unexpected token\"%s\"", yyline, str); |
| 140 | +elog(ERROR,"%sat line %d", message, yyline); |
141 | 141 | }
|