spew.c (yyerror): Cope if yylval.ttype is NULL.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 28 Nov 2000 10:23:03 +0000 (10:23 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 28 Nov 2000 10:23:03 +0000 (10:23 +0000)
commit2f3608c33e4b7787fb460981463958df9caf387e
tree23878c0662c756fdd96927e7e0fa17452fb40257
parenteeb753839ff6f622aecf03483ecaedf69d7d25c5
spew.c (yyerror): Cope if yylval.ttype is NULL.

cp:
* spew.c (yyerror): Cope if yylval.ttype is NULL.
testsuite:
* g++.old-deja/g++.other/parse2.C: New test.

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