* data/bison.simple (YYLEX): Fix the declaration when

%pure-parser.
This commit is contained in:
Akim Demaille
2002-06-20 10:29:27 +00:00
parent e317006080
commit 5c1180b3c4
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2002-06-20 Akim Demaille <akim@epita.fr>
* data/bison.simple (YYLEX): Fix the declaration when
%pure-parser.
2002-06-20 Akim Demaille <akim@epita.fr>
* data/bison.simple (yysymprint): Don't print the token number,

View File

@@ -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 ()])