mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 00:03:03 +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>
|
2002-06-20 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* data/bison.simple (yysymprint): Don't print the token number,
|
* data/bison.simple (yysymprint): Don't print the token number,
|
||||||
|
|||||||
@@ -537,9 +537,9 @@ while (0)
|
|||||||
|
|
||||||
b4_pure_if(
|
b4_pure_if(
|
||||||
[#ifdef YYLEX_PARAM
|
[#ifdef YYLEX_PARAM
|
||||||
# define YYLEX yylex (&yylval, b4_location_if([&yylloc, ])YYLEX_PARAM)
|
# define YYLEX yylex (&yylval[]b4_location_if([, &yylloc]), YYLEX_PARAM)
|
||||||
#else
|
#else
|
||||||
# define YYLEX yylex (&yylval, b4_location_if([&yylloc, ]))
|
# define YYLEX yylex (&yylval[]b4_location_if([, &yylloc]))
|
||||||
#endif],
|
#endif],
|
||||||
[#define YYLEX yylex ()])
|
[#define YYLEX yylex ()])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user