From db7c8e9a72f625c5dd10b4f389bf405915c33e68 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 13 May 2002 08:56:20 +0000 Subject: [PATCH] * tests/regression.at (Token definitions): Prototype yylex and yyerror. --- ChangeLog | 5 +++++ tests/regression.at | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 -- 2.47.2