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