mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 04:43:03 +00:00
* data/lalr1.cc (yylex_): Honor %lex-param.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-06-22 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* data/lalr1.cc (yylex_): Honor %lex-param.
|
||||
|
||||
2005-06-22 Akim Demaille <akim@epita.fr>
|
||||
|
||||
Start a set of simple examples.
|
||||
|
||||
@@ -838,11 +838,10 @@ void
|
||||
yy::]b4_parser_class_name[::yylex_ ()
|
||||
{
|
||||
YYCDEBUG << _("Reading a token: ");
|
||||
#if YYLSP_NEEDED
|
||||
yylooka_ = yylex (&yylval, &yylloc);
|
||||
#else
|
||||
yylooka_ = yylex (&yylval);
|
||||
#endif
|
||||
yylooka_ = ]b4_c_function_call([yylex], [int],
|
||||
[[YYSTYPE*], [&yylval]][]dnl
|
||||
b4_location_if([, [[location*], [&yylloc]]])dnl
|
||||
m4_ifdef([b4_lex_param], [, ]b4_lex_param))[;
|
||||
}
|
||||
|
||||
// Generate an error message, and invoke error.
|
||||
|
||||
Reference in New Issue
Block a user