* data/yacc.c: Guard the declaration of yytoknum also with

`#ifdef YYPRINT', so it is declared only when used.
This commit is contained in:
Akim Demaille
2002-09-04 12:03:01 +00:00
parent eb34f4177c
commit c0ad8bf3c2
3 changed files with 8 additions and 1 deletions

View File

@@ -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[[]] =