mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* data/bison.c++ (yy::b4_name::print_): New method, replaces yyprint in
C++ parsers. (yy::b4_name::parse): Use print_.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2002-02-07 Robert Anisko <robert@lrde.epita.fr>
|
||||
|
||||
* data/bison.c++ (yy::b4_name::print_): New method, replaces yyprint in
|
||||
C++ parsers.
|
||||
(yy::b4_name::parse): Use print_.
|
||||
|
||||
2002-02-07 Robert Anisko <robert@lrde.epita.fr>
|
||||
|
||||
* data/bison.c++ (yy::b4_name::parse): Error recovery is back.
|
||||
|
||||
@@ -81,6 +81,7 @@ namespace yy
|
||||
private:
|
||||
|
||||
virtual void error_ ();
|
||||
virtual void print_ ();
|
||||
|
||||
/* Call to lexical analyser. */
|
||||
virtual
|
||||
@@ -229,6 +230,7 @@ yy::b4_name::parse ()
|
||||
if (debug_)
|
||||
{
|
||||
YYFPRINTF (stderr, "Next token is %d (%s", looka, name_[[ilooka]]);
|
||||
print_ ();
|
||||
YYFPRINTF (stderr, ")\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user