diff options
author | Diego Novillo <dnovillo@google.com> | 2009-04-14 23:41:28 -0400 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2009-04-14 23:41:28 -0400 |
commit | dab71827a9201dd1ba59d1095fac1237036f9f0b (patch) | |
tree | 5d9837cad5adf85d3fe250481be67981045fb958 /gcc/cp/parser.c | |
parent | f86ce6015ef9aa3d143c20a0072df231235b5344 (diff) | |
download | gcc-dab71827a9201dd1ba59d1095fac1237036f9f0b.zip gcc-dab71827a9201dd1ba59d1095fac1237036f9f0b.tar.gz gcc-dab71827a9201dd1ba59d1095fac1237036f9f0b.tar.bz2 |
diagnostic.c (diagnostic_report_diagnostic): Do not warn about loaded plugins for DK_ERROR and DK_WARNING.
* diagnostic.c (diagnostic_report_diagnostic): Do not
warn about loaded plugins for DK_ERROR and DK_WARNING.
* c-decl.c (declspecs_add_type): Move call to
invoke_plugin_callbacks ...
* c-parser.c (c_parser_declspecs): ... here.
* plugin.c (dump_active_plugins): Tidy output.
cp/ChangeLog
* parser.c (cp_parser_type_specifier_seq): Move call to
invoke_plugin_callbacks ...
(cp_parser_type_specifier_seq): ... here.
From-SVN: r146078
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 8a8ca06..3dba794 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -11015,6 +11015,7 @@ cp_parser_type_specifier (cp_parser* parser, cp_parser_parse_tentatively (parser); /* Look for the class-specifier. */ type_spec = cp_parser_class_specifier (parser); + invoke_plugin_callbacks (PLUGIN_FINISH_TYPE, type_spec); /* If that worked, we're done. */ if (cp_parser_parse_definitely (parser)) { @@ -13891,8 +13892,6 @@ cp_parser_type_specifier_seq (cp_parser* parser, break; } - invoke_plugin_callbacks (PLUGIN_FINISH_TYPE, type_specifier); - seen_type_specifier = true; /* The standard says that a condition can be: |