]> git.saurik.com Git - bison.git/blobdiff - tests/calc.at
* data/lalr1.cc (Parser:print_): Remove, use %printer instead.
[bison.git] / tests / calc.at
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_ ()
 {