Honor lex-params in %define lex_symbol mode.

* data/lalr1.cc: Use b4_lex_param.
This commit is contained in:
Akim Demaille committed 2008-11-13 06:27:15 +01:00
1 parent 6659366cda
commit dd735e4ee6
2 files changed
+7 -1

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2008-11-13 Akim Demaille <[email protected]>
Honor lex-params in %define lex_symbol mode.
* data/lalr1.cc: Use b4_lex_param.
2008-11-13 Akim Demaille <[email protected]>
Simplify names.
+2 -1
View File
@@ -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