* 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

@@ -1,3 +1,8 @@
2002-09-04 Jim Meyering <jim@meyering.net>
* data/yacc.c: Guard the declaration of yytoknum also with
`#ifdef YYPRINT', so it is declared only when used.
2002-09-04 Akim Demaille <akim@epita.fr>
* configure.in: Rename as...

2
THANKS
View File

@@ -21,7 +21,7 @@ Florian Krohm florian@edamail.fishkill.ibm.com
H. Merijn Brand h.m.brand@hccnet.nl
Hans Aberg haberg@matematik.su.se
Jesse Thilo jthilo@gnu.org
Jim Meyering meyering@gnu.org
Jim Meyering jim@meyering.net
Juan Manuel Guerrero ST001906@HRZ1.HRZ.TU-Darmstadt.De
Kees Zeelenberg kzlg@users.sourceforge.net
Keith Browne kbrowne@legato.com

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