From 0dd59ce3b4a23320b1edf604addda40215bc1aa7 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 19 Jun 2012 17:43:11 +0200 Subject: [PATCH] tests: enhance AT_YYERROR_DEFINE. * tests/local.at: Handle the fact that locations are no longer needed with lalr1.cc. --- tests/local.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0