(component_decl_list): Do pedwarn for missing semicolon after last field decl.
From-SVN: r2353
This commit is contained in:
parent
4f83f32399
commit
ee759b212b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user