mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03:04 +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>
|
2002-05-12 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU>
|
||||||
|
|
||||||
* src/scan-skel.l: Correct off-by-one error in handling of __oline__.
|
* 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'!
|
# Bison managed, when fed with `%token 'f' "f"' to #define 'f'!
|
||||||
AT_DATA([input.y],
|
AT_DATA([input.y],
|
||||||
[[%token "end of file"
|
[%{
|
||||||
|
void yyerror (const char *s);
|
||||||
|
int yylex (void);
|
||||||
|
%}
|
||||||
|
[%token "end of file"
|
||||||
%token 'a' "a"
|
%token 'a' "a"
|
||||||
%token "b" 'b'
|
%token "b" 'b'
|
||||||
%token "c" c
|
%token "c" c
|
||||||
|
|||||||
Reference in New Issue
Block a user