Fix core dump reported by Pablo De Napoli in

<http://lists.gnu.org/archive/html/bug-bison/2005-07/msg00053.html>.
* tests/regression.at (Invalid inputs with {}): New test.
* src/parse-gram.y (token_name): Translate type before using
it as an index.
This commit is contained in:
Paul Eggert
2005-07-25 03:38:42 +00:00
parent 57beea5776
commit fc01665ea5
3 changed files with 28 additions and 1 deletions

View File

@@ -2,6 +2,12 @@
* NEWS: Version 2.0b.
Fix core dump reported by Pablo De Napoli in
<http://lists.gnu.org/archive/html/bug-bison/2005-07/msg00053.html>.
* tests/regression.at (Invalid inputs with {}): New test.
* src/parse-gram.y (token_name): Translate type before using
it as an index.
* data/glr.c (ATTRIBUTE_UNUSED): Remove, since it infringes on
the user's name space. All uses changed to __attribute__
((__unused__)).