Fix core dump reported by Pablo De Napoli in
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Jul 2005 03:38:42 +0000 (03:38 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 25 Jul 2005 03:38:42 +0000 (03:38 +0000)
commitfc01665ea5901b1d426ab3637a26dff9a8ff87e4
treec1a5afbdc5994b94fd11b87e2ea03ff3956ba6c2
parent57beea57768aeaae6eee4bedbecae7d295018065
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.
ChangeLog
src/parse-gram.y
tests/regression.at