* 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.
This commit is contained in:
Akim Demaille
2004-11-17 14:19:37 +00:00
parent e268877e7e
commit 68e11668e4
5 changed files with 10 additions and 25 deletions

View 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_ ()
{