diff options
author | Richard Stallman <rms@gnu.org> | 1992-10-07 19:42:30 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-10-07 19:42:30 +0000 |
commit | ee759b212b6c54a46dff2959f6faa29834d17749 (patch) | |
tree | 6d009773713f53efde3d612bf146b3e2ce503990 /gcc | |
parent | 4f83f32399908bafad47bfd6a917d38d51b6719a (diff) | |
download | gcc-ee759b212b6c54a46dff2959f6faa29834d17749.zip gcc-ee759b212b6c54a46dff2959f6faa29834d17749.tar.gz gcc-ee759b212b6c54a46dff2959f6faa29834d17749.tar.bz2 |
(component_decl_list): Do pedwarn for missing semicolon after last field decl.
From-SVN: r2353
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-parse.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-parse.in b/gcc/c-parse.in index 4f5506b..4b8ec56 100644 --- a/gcc/c-parse.in +++ b/gcc/c-parse.in @@ -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 */ |