* 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-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>
virtual void lex_ ();
virtual void error_ ();
- virtual void print_ ();
virtual void report_syntax_error_ ();
#if YYDEBUG
virtual void symprint_ (int yytype,
}
]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_ ()
{
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_ ()
{
;
%%
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_ ()
{