From: Akim Demaille Date: Mon, 13 May 2002 08:56:20 +0000 (+0000) Subject: * tests/regression.at (Token definitions): Prototype yylex and X-Git-Tag: BISON-1_49b~224 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/db7c8e9a72f625c5dd10b4f389bf405915c33e68 * tests/regression.at (Token definitions): Prototype yylex and yyerror. --- diff --git a/ChangeLog b/ChangeLog index c45fa3a5..598a2e47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-13 Akim Demaille + + * tests/regression.at (Token definitions): Prototype yylex and + yyerror. + 2002-05-12 Paul Hilfinger * src/scan-skel.l: Correct off-by-one error in handling of __oline__. diff --git a/tests/regression.at b/tests/regression.at index 9ebff2e8..f28e9ae3 100644 --- a/tests/regression.at +++ b/tests/regression.at @@ -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