mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 13:53:03 +00:00
Honor lex-params in %define lex_symbol mode.
* data/lalr1.cc: Use b4_lex_param.
This commit is contained in:
@@ -1197,7 +1197,8 @@ m4_popdef([b4_at_dollar])])dnl
|
||||
{
|
||||
YYCDEBUG << "Reading a token: ";
|
||||
]b4_lex_symbol_if(
|
||||
[ yyla = yylex();],
|
||||
[ yyla = b4_c_function_call([yylex], [symbol_type],
|
||||
m4_ifdef([b4_lex_param], b4_lex_param));],
|
||||
[ yyla.type = yytranslate_ (b4_c_function_call([yylex], [int],
|
||||
[[YYSTYPE*], [&yyla.value]][]dnl
|
||||
b4_locations_if([, [[location*], [&yyla.location]]])dnl
|
||||
|
||||
Reference in New Issue
Block a user