mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* data/bison.simple (YYLEX): Fix the declaration when
%pure-parser.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 ()])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user