Commit ee759b21 by Richard Stallman

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

From-SVN: r2353
parent 4f83f323
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment