* data/glr.c (YYCHK1): Do not assume YYE is in range.

This avoids a diagnostic from gcc -Wswitch-enum.
Problem reported by twlevo@xs4all.nl.
This commit is contained in:
Paul Eggert
2005-09-09 22:59:46 +00:00
parent 48b16bbc04
commit 127287e9c4
2 changed files with 11 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
2005-09-09 Paul Eggert <eggert@cs.ucla.edu>
* data/glr.c (YYCHK1): Do not assume YYE is in range.
This avoids a diagnostic from gcc -Wswitch-enum.
Problem reported by twlevo@xs4all.nl.
* doc/bison.texinfo: Don't use "filename", as per GNU coding
standards. Use "file name" or "file" or "name", depending on
the context.