multistart: start more thorough testing

* tests/local.at (AT_MULTISTART_IF): New.
* tests/calc.at: Adjust to check multiple start symbols.
* data/skeletons/yacc.c (yy_parse_impl): Fix.
This commit is contained in:
Akim Demaille
2020-09-27 13:07:57 +02:00
parent c19c1e7ec5
commit 9b18cac96b
3 changed files with 131 additions and 51 deletions

View File

@@ -2182,7 +2182,8 @@ yypushreturn:]], [[
]b4_parse_error_bmatch([detailed\|verbose],
[[ if (yymsg != yymsgbuf)
YYSTACK_FREE (yymsg);]])[]m4_ifdef([b4_start_symbols], [[
yyimpl->yynerrs = yynerrs;]])[
if (yyimpl)
yyimpl->yynerrs = yynerrs;]])[
return yyresult;
}
]b4_push_if([b4_parse_state_variable_macros([b4_macro_undef])])[