* 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
+5
View File
@@ -1,3 +1,8 @@
2002-09-04 Jim Meyering <[email protected]>
* data/yacc.c: Guard the declaration of yytoknum also with
`#ifdef YYPRINT', so it is declared only when used.
2002-09-04 Akim Demaille <[email protected]>
* configure.in: Rename as...
+1 -1
View File
@@ -21,7 +21,7 @@ Florian Krohm [email protected]
H. Merijn Brand [email protected]
Hans Aberg [email protected]
Jesse Thilo [email protected]
Jim Meyering meyering@gnu.org
Jim Meyering jim@meyering.net
Juan Manuel Guerrero [email protected]
Kees Zeelenberg [email protected]
Keith Browne [email protected]
+2
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[[]] =