mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
tests: enhance AT_YYERROR_DEFINE.
* tests/local.at: Handle the fact that locations are no longer needed with lalr1.cc.
This commit is contained in:
@@ -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 <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user