From: Robert Anisko <robert@lrde.epita.fr> Date: Thu, 7 Feb 2002 14:41:46 +0000 (+0000) Subject: * data/bison.c++ (yy::b4_name::print_): New method, replaces yyprint in X-Git-Tag: BISON-1_49a~162 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/4aacc3a71d90a41ff446d32e573e5212b1779a10 * data/bison.c++ (yy::b4_name::print_): New method, replaces yyprint in C++ parsers. (yy::b4_name::parse): Use print_. --- diff --git a/ChangeLog b/ChangeLog index 0a2ec091..b3a09a5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/data/bison.c++ b/data/bison.c++ index 7680ec42..0541c872 100644 --- a/data/bison.c++ +++ b/data/bison.c++ @@ -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