tests: fix definition for parser class name

* tests/local.at (AT_PARSER_CLASS): Fix it.
And use it.
This commit is contained in:
Akim Demaille
2021-01-10 09:57:31 +01:00
parent 428999c117
commit 442c8d85aa
2 changed files with 9 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ m4_pushdef([AT_YYPARSE_DEFINE],
static int
yyparse ()
{
]AT_NAMESPACE[::parser p;]AT_DEBUG_IF([[
]AT_NAMESPACE[::]AT_PARSER_CLASS[ p;]AT_DEBUG_IF([[
int debug = !!getenv ("YYDEBUG");
p.set_debug_level (debug);]])[
return p.parse ();