From: Akim Demaille Date: Tue, 19 Jun 2012 15:43:11 +0000 (+0200) Subject: tests: enhance AT_YYERROR_DEFINE. X-Git-Tag: v2.7.90~435 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/0dd59ce3b4a23320b1edf604addda40215bc1aa7 tests: enhance AT_YYERROR_DEFINE. * tests/local.at: Handle the fact that locations are no longer needed with lalr1.cc. --- diff --git a/tests/local.at b/tests/local.at index 0d24a44a..f43ffde8 100644 --- a/tests/local.at +++ b/tests/local.at @@ -326,7 +326,7 @@ m4_define([AT_YYERROR_DEFINE], { System.err.println (msg); }]], [AT_SKEL_CC_IF([[void -yy::parser::error (const yy::location &, std::string const &msg) +yy::parser::error (]AT_LOCATION_IF([[const yy::location &, ]])[std::string const &msg) { std::cerr << msg << std::endl; }]], [[#include