spew.c (read_token): Call yyerror on all unexpected tokens.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 16 May 2001 09:37:21 +0000 (09:37 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 16 May 2001 09:37:21 +0000 (09:37 +0000)
commitcc469ee98e2f333a76532552fa96ec845a17a03a
tree0441f888743a37ae399d012a85099a038029463f
parent3f0a9b3563fa102e975854ecdd17980550c9cd22
spew.c (read_token): Call yyerror on all unexpected tokens.

cp:
* spew.c (read_token): Call yyerror on all unexpected tokens.
testsuite:
* g++.old-deja/g++.other/crash41.C: New test.

From-SVN: r42143
gcc/cp/ChangeLog
gcc/cp/spew.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/crash41.C [new file with mode: 0644]