]> git.saurik.com Git - bison.git/blobdiff - tests/actions.at
* data/lalr1.cc (symprint_): Use cdebug_ to avoid warnings.
[bison.git] / tests / actions.at
index 05d0e52b28ef051dc95ce24e448b5a2d3979680b..40940089fce65365a894703956d1eba538b8e0cb 100644 (file)
@@ -196,7 +196,7 @@ m4_ifval([$6], [%union
 
 %printer
   {
-    ]AT_LALR1_CC_IF([cdebug_ << $$;],
+    ]AT_LALR1_CC_IF([debug_stream () << $$;],
                     [fprintf (yyoutput, "%d", $$)])[;
   }
   input line thing 'x' 'y'
@@ -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_ ()
 {