* tests/regression.at (Token definitions): Prototype yylex and

yyerror.
This commit is contained in:
Akim Demaille committed 2002-05-13 08:56:20 +00:00
1 parent 158c687b65
commit db7c8e9a72
2 files changed
+10 -1

No files matched your search

+5 -1
View File
@@ -296,7 +296,11 @@ AT_SETUP([Token definitions])
# Bison managed, when fed with `%token 'f' "f"' to #define 'f'!
AT_DATA([input.y],
[[%token "end of file"
[%{
void yyerror (const char *s);
int yylex (void);
%}
[%token "end of file"
%token 'a' "a"
%token "b" 'b'
%token "c" c