mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* data/yacc.c: Guard the declaration of yytoknum also with
`#ifdef YYPRINT', so it is declared only when used.
This commit is contained in:
@@ -358,12 +358,14 @@ static const char *const yytname[[]] =
|
||||
};
|
||||
#endif
|
||||
|
||||
# ifdef YYPRINT
|
||||
/* YYTOKNUM[[YYLEX-NUM]] -- Internal token number corresponding to
|
||||
token YYLEX-NUM. */
|
||||
static const b4_int_type_for([b4_toknum]) yytoknum[[]] =
|
||||
{
|
||||
b4_toknum
|
||||
};
|
||||
# endif
|
||||
|
||||
/* YYR1[[YYN]] -- Symbol number of symbol that rule YYN derives. */
|
||||
static const b4_int_type_for([b4_r1]) yyr1[[]] =
|
||||
|
||||
Reference in New Issue
Block a user