mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
* data/glr.c (YYTOKEN_TABLE): New macro.
(yytname): Define if YYTOKEN_TABLE. * data/yacc.c (YYTOKEN_TABLE, yytname): Likewise. * data/lalr1.cc (YYTOKEN_TABLE, yytname_): Likewise. (YYERROR_VERBOSE): Define the same way the other skeletons do. * src/output.c (prepare_symbols): Output token_table_flag.
This commit is contained in:
@@ -145,6 +145,7 @@ escaped_output (FILE *out, char const *string)
|
||||
static void
|
||||
prepare_symbols (void)
|
||||
{
|
||||
MUSCLE_INSERT_BOOL ("token_table", token_table_flag);
|
||||
MUSCLE_INSERT_INT ("tokens_number", ntokens);
|
||||
MUSCLE_INSERT_INT ("nterms_number", nvars);
|
||||
MUSCLE_INSERT_INT ("undef_token_number", undeftoken->number);
|
||||
|
||||
Reference in New Issue
Block a user