mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
skeletons: use "invalid token" instead of "$undefined"
* src/output.c (prepare_symbol_names): Also handle undeftoken. * tests/actions.at, tests/calc.at, tests/regression.at: Adjust.
This commit is contained in:
@@ -225,6 +225,11 @@ prepare_symbol_names (char const *muscle_name)
|
||||
tag = "\"end of file\"";
|
||||
translatable = with_translations;
|
||||
}
|
||||
else if (symbols[i]->content == undeftoken->content)
|
||||
{
|
||||
tag = "\"invalid token\"";
|
||||
translatable = with_translations;
|
||||
}
|
||||
|
||||
char *cp
|
||||
= tag[0] == '"' && !quote
|
||||
|
||||
Reference in New Issue
Block a user