mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23: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>
|
2005-06-22 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
Start a set of simple examples.
|
Start a set of simple examples.
|
||||||
|
|||||||
@@ -838,11 +838,10 @@ void
|
|||||||
yy::]b4_parser_class_name[::yylex_ ()
|
yy::]b4_parser_class_name[::yylex_ ()
|
||||||
{
|
{
|
||||||
YYCDEBUG << _("Reading a token: ");
|
YYCDEBUG << _("Reading a token: ");
|
||||||
#if YYLSP_NEEDED
|
yylooka_ = ]b4_c_function_call([yylex], [int],
|
||||||
yylooka_ = yylex (&yylval, &yylloc);
|
[[YYSTYPE*], [&yylval]][]dnl
|
||||||
#else
|
b4_location_if([, [[location*], [&yylloc]]])dnl
|
||||||
yylooka_ = yylex (&yylval);
|
m4_ifdef([b4_lex_param], [, ]b4_lex_param))[;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Generate an error message, and invoke error.
|
// Generate an error message, and invoke error.
|
||||||
|
|||||||
Reference in New Issue
Block a user