version 1.24, 2004/10/19 07:36:51 |
version 1.25, 2005/03/17 16:59:31 |
|
|
{ |
{ |
yyerrok; |
yyerrok; |
} |
} |
|
| error QUIT |
|
{ |
|
yyerrok; |
|
} |
; |
; |
|
|
semicolon_list : /* empty */ |
semicolon_list : /* empty */ |
|
|
{ |
{ |
char *str, *p; |
char *str, *p; |
|
|
if (isspace(yytext[0]) || !isprint(yytext[0])) |
if (feof(yyin)) |
asprintf(&str, "%s: %s:%d: %s: ascii char 0x%x unexpected", |
asprintf(&str, "%s: %s:%d: %s: unexpected EOF", |
|
__progname, filename, lineno, s); |
|
else if (isspace(yytext[0]) || !isprint(yytext[0])) |
|
asprintf(&str, "%s: %s:%d: %s: ascii char 0x%02x unexpected", |
__progname, filename, lineno, s, yytext[0]); |
__progname, filename, lineno, s, yytext[0]); |
else |
else |
asprintf(&str, "%s: %s:%d: %s: %s unexpected", |
asprintf(&str, "%s: %s:%d: %s: %s unexpected", |