summaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2009-04-14 23:41:28 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2009-04-14 23:41:28 -0400
commitdab71827a9201dd1ba59d1095fac1237036f9f0b (patch)
tree5d9837cad5adf85d3fe250481be67981045fb958 /gcc/c-parser.c
parentf86ce6015ef9aa3d143c20a0072df231235b5344 (diff)
downloadgcc-dab71827a9201dd1ba59d1095fac1237036f9f0b.tar.gz
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/c-parser.c')
-rw-r--r--gcc/c-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-parser.c b/gcc/c-parser.c
index 1443bc5b6c4..7887391dfcc 100644
--- a/gcc/c-parser.c
+++ b/gcc/c-parser.c
@@ -1553,6 +1553,7 @@ c_parser_declspecs (c_parser *parser, struct c_declspecs *specs,
attrs_ok = true;
seen_type = true;
t = c_parser_struct_or_union_specifier (parser);
+ invoke_plugin_callbacks (PLUGIN_FINISH_TYPE, t.spec);
declspecs_add_type (specs, t);
break;
case RID_TYPEOF: