From: Akim Demaille Date: Thu, 20 Jun 2002 10:29:27 +0000 (+0000) Subject: * data/bison.simple (YYLEX): Fix the declaration when X-Git-Tag: BISON-1_49b~141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c1180b3c4abeaf9fda0554a9b241fee4e2bf33e;p=platform%2Fupstream%2Fbison.git * data/bison.simple (YYLEX): Fix the declaration when %pure-parser. --- diff --git a/ChangeLog b/ChangeLog index 4a48d21..1c34436 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2002-06-20 Akim Demaille + * data/bison.simple (YYLEX): Fix the declaration when + %pure-parser. + +2002-06-20 Akim Demaille + * data/bison.simple (yysymprint): Don't print the token number, just its name. * tests/actions.at (Destructors): Rename as... diff --git a/data/bison.simple b/data/bison.simple index c5ce138..3aa2476 100644 --- a/data/bison.simple +++ b/data/bison.simple @@ -537,9 +537,9 @@ while (0) b4_pure_if( [#ifdef YYLEX_PARAM -# define YYLEX yylex (&yylval, b4_location_if([&yylloc, ])YYLEX_PARAM) +# define YYLEX yylex (&yylval[]b4_location_if([, &yylloc]), YYLEX_PARAM) #else -# define YYLEX yylex (&yylval, b4_location_if([&yylloc, ])) +# define YYLEX yylex (&yylval[]b4_location_if([, &yylloc])) #endif], [#define YYLEX yylex ()])