(yylex_): this.
Move the trace here.
Take the %name-prefix into account.
Reported by Alexandre Duret-Lutz.
+2004-12-15 Akim Demaille <akim@epita.fr>
+
+ * data/lalr1.cc (lex_): Rename as...
+ (yylex_): this.
+ Move the trace here.
+ Take the %name-prefix into account.
+ Reported by Alexandre Duret-Lutz.
+
2004-12-15 Akim Demaille <akim@epita.fr>
Simplify the C++ parser constructor.
2004-12-15 Akim Demaille <akim@epita.fr>
Simplify the C++ parser constructor.
+ virtual void yylex_ ();
virtual void error_ ();
virtual void report_syntax_error_ ();
#if YYDEBUG
virtual void error_ ();
virtual void report_syntax_error_ ();
#if YYDEBUG
/* Read a look-ahead token. */
if (looka_ == empty_)
/* Read a look-ahead token. */
if (looka_ == empty_)
- {
- YYCDEBUG << "Reading a token: ";
- lex_ ();
- }
/* Convert token to internal form. */
if (looka_ <= eof_)
/* Convert token to internal form. */
if (looka_ <= eof_)
-yy::]b4_parser_class_name[::lex_ ()
+yy::]b4_parser_class_name[::yylex_ ()
+ YYCDEBUG << "Reading a token: ";
- looka_ = yylex (&value, &location);
+ looka_ = ]m4_default(b4_prefix, [yy])[lex (&value, &location);
- looka_ = yylex (&value);
+ looka_ = ]m4_default(b4_prefix, [yy])[lex (&value);