]> git.saurik.com Git - bison.git/blobdiff - data/yacc.c
* data/yacc.c: Guard the declaration of yytoknum also with
[bison.git] / data / yacc.c
index b57db16493d41b4fc1647c35b9ab1c22f2ae6110..daa08d60dad3c644398b3ec19e511b3ae47cbf32 100644 (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[[]] =