]> git.saurik.com Git - bison.git/commitdiff
* data/lalr1.cc (Parser:print_): Remove, use %printer instead.
authorAkim Demaille <akim@epita.fr>
Wed, 17 Nov 2004 14:19:37 +0000 (14:19 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 17 Nov 2004 14:19:37 +0000 (14:19 +0000)
* tests/regression.at (_AT_DATA_DANCER_Y): Adjust.
* tests/calc.at (_AT_DATA_CALC_Y): Ditto.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Likewise.

ChangeLog
data/lalr1.cc
tests/actions.at
tests/calc.at
tests/regression.at

index 1db1da514c8c8c4c66c371724de5623341c1cfa9..7c59bb3025dc7e05ff944cd3ecae8f2d15d3dab1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-11-17  Akim Demaille  <akim@epita.fr>
+
+       * data/lalr1.cc (Parser:print_): Remove, use %printer instead.
+       * tests/regression.at (_AT_DATA_DANCER_Y): Adjust.
+       * tests/calc.at (_AT_DATA_CALC_Y): Ditto.
+       * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Likewise.
+
 2004-10-28  Akim Demaille  <akim@epita.fr>,
            Alexandre Duret-Lutz <adl@gnu.org>
 
index e77e784262a612c4e75bbd9a2c605022372a628b..36d1dea08bd0a46da8ce699e0c0de44510a50247 100644 (file)
@@ -263,7 +263,6 @@ namespace yy
 
     virtual void lex_ ();
     virtual void error_ ();
-    virtual void print_ ();
     virtual void report_syntax_error_ ();
 #if YYDEBUG
     virtual void symprint_ (int yytype,
index 05d0e52b28ef051dc95ce24e448b5a2d3979680b..22d51d969d2a0edc2c5129a9a6b2cec7af6032bc 100644 (file)
@@ -309,14 +309,7 @@ yylex (]AT_LEX_FORMALS[)
 }
 
 ]AT_LALR1_CC_IF(
-[/* Currently, print_ is required in C++. */
-void
-yy::Parser::print_ ()
-{
-  std::cerr << location;
-}
-
-/* A C++ error reporting function. */
+[/* A C++ error reporting function. */
 void
 yy::Parser::error_ ()
 {
index eb59ac9ede5b7d468deea0ce591f17c4cd537645..83ce28314b32363aa3a79f5e2c09a78d33770b4d 100644 (file)
@@ -126,15 +126,7 @@ exp:
 static FILE *yyin;
 
 ]AT_LALR1_CC_IF(
-[/* Currently, print_ is required in C++. */
-void
-yy::Parser::print_ ()
-{
-AT_LOCATION_IF([
-  std::cerr << location;])
-}
-
-/* A C++ error reporting function. */
+[/* A C++ error reporting function. */
 void
 yy::Parser::error_ ()
 {
index ebc3e874f83bf7fa75f0b0dbe244a17efcd5938e..c199ecc112ecbfa656c7e84fbb6c5061d1df34b4 100644 (file)
@@ -725,13 +725,7 @@ member: STRING
    ;
 %%
 AT_LALR1_CC_IF(
-[/* Currently, print_ is required in C++. */
-void
-yy::Parser::print_ ()
-{
-}
-
-/* A C++ error reporting function. */
+[/* A C++ error reporting function. */
 void
 yy::Parser::error_ ()
 {