mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-04 06:05:35 +00:00
* data/lalr1.cc (yylex_): Honor %lex-param.
This commit is contained in:
1 parent
0ffd4fd1a2
commit
99be023555
2 files changed
+8
-5
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2005-06-22 Akim Demaille <[email protected]>
|
||||
|
||||
* data/lalr1.cc (yylex_): Honor %lex-param.
|
||||
|
||||
2005-06-22 Akim Demaille <[email protected]>
|
||||
|
||||
Start a set of simple examples.
|
||||
|
||||
+4
-5
@@ -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