* spew.c (yylex): Clear looking_for_typename if we got
'enum { ... };'.
Fixes WIFEXITED.
From-SVN: r23112
+1998-10-14 Jason Merrill <jason@yorick.cygnus.com>
+
+ * spew.c (yylex): Clear looking_for_typename if we got
+ 'enum { ... };'.
+
Fri Oct 2 02:07:26 1998 Mumit Khan <khan@xraylith.wisc.edu>
* parse.y (nomods_initdcl0): Set up the parser stack correctly.
-*** Changes since EGCS 1.0:
+*** Changes in EGCS 1.1:
* Namespaces are fully supported. The library has not yet been converted
to use namespace std, however, and the old std-faking code is still on by
if (tmp_token.yychar != '~')
got_object = NULL_TREE;
+ /* Clear looking_for_typename if we got 'enum { ... };'. */
+ if (tmp_token.yychar == '{' || tmp_token.yychar == ':'
+ || tmp_token.yychar == ';')
+ looking_for_typename = 0;
+
yylval = tmp_token.yylval;
yychar = tmp_token.yychar;
end_of_file = tmp_token.end_of_file;