(component_decl_list): Do pedwarn for missing semicolon after last field decl.

From-SVN: r2353
This commit is contained in:
Richard Stallman 1992-10-07 19:42:30 +00:00
parent 4f83f32399
commit ee759b212b

View File

@ -1226,7 +1226,7 @@ component_decl_list:
{ $$ = $1; }
| component_decl_list2 component_decl
{ $$ = chainon ($1, $2);
warning ("no semicolon at end of struct or union"); }
pedwarn ("no semicolon at end of struct or union"); }
;
component_decl_list2: /* empty */