mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Honor lex-params in %define lex_symbol mode.
* data/lalr1.cc: Use b4_lex_param.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-11-13 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Honor lex-params in %define lex_symbol mode.
|
||||
* data/lalr1.cc: Use b4_lex_param.
|
||||
|
||||
2008-11-13 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Simplify names.
|
||||
|
||||
@@ -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