bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] skeleton-c++-yyprint.patch


From: Robert Anisko
Subject: [FYI] skeleton-c++-yyprint.patch
Date: Thu, 7 Feb 2002 15:50:09 +0100 (CET)

Index: ChangeLog
===================================================================
RCS file: /cvsroot/bison/bison/ChangeLog,v
retrieving revision 1.539
diff -u -r1.539 ChangeLog
--- ChangeLog   7 Feb 2002 13:02:40 -0000       1.539
+++ ChangeLog   7 Feb 2002 14:39:09 -0000
@@ -1,5 +1,11 @@
 2002-02-07  Robert Anisko  <address@hidden>
 
+       * 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  <address@hidden>
+
        * data/bison.c++ (yy::b4_name::parse): Error recovery is back.
 
 2002-02-07  Robert Anisko  <address@hidden>
Index: data/bison.c++
===================================================================
RCS file: /cvsroot/bison/bison/data/bison.c++,v
retrieving revision 1.6
diff -u -r1.6 bison.c++
--- data/bison.c++      7 Feb 2002 13:02:40 -0000       1.6
+++ data/bison.c++      7 Feb 2002 14:39:09 -0000
@@ -81,6 +81,7 @@
   private:
 
     virtual void error_ ();
+    virtual void print_ ();
 
     /* Call to lexical analyser.  */
     virtual
@@ -229,6 +230,7 @@
       if (debug_)
        {
          YYFPRINTF (stderr, "Next token is %d (%s", looka, name_[[ilooka]]);
+         print_ ();
          YYFPRINTF (stderr, ")\n");
        }
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]