mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* tests/regression.at (Token definitions): Prototype yylex and
yyerror.
This commit is contained in:
@@ -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__.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user