mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* 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:
@@ -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_ ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user