summaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-15 03:41:28 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-15 03:41:28 +0000
commitdd2b35f146936bf0f8f723813df6cefc7bd0b92f (patch)
tree5d9837cad5adf85d3fe250481be67981045fb958 /gcc/c-parser.c
parent1c4f3e9a595b8f1fe0a0912c293b657c9bc96861 (diff)
downloadgcc-dd2b35f146936bf0f8f723813df6cefc7bd0b92f.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146078 138bc75d-0d04-0410-961f-82ee72b054a4
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: