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

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

View File

@@ -1,3 +1,8 @@
2002-05-13 Akim Demaille <akim@epita.fr>
* tests/regression.at (Token definitions): Prototype yylex and
yyerror.
2002-05-12 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU>
* src/scan-skel.l: Correct off-by-one error in handling of __oline__.

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