From: Bruno Loff Date: Mon, 2 Feb 2015 21:18:56 +0000 (+0000) Subject: c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks after processing enum... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4bb6959b818841e232449c9d092c3df3630ea5c;p=gcc.git c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks after processing enum declaration. 2015-02-02 Bruno Loff * c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks after processing enum declaration. From-SVN: r220358 --- diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 7c2ce3865e8..f90efeb38bb 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2015-02-02 Bruno Loff + + * c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks after + processing enum declaration. + 2015-01-29 Marek Polacek PR c/64709 diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index 665ee42cf2d..0387f0e698f 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -2391,6 +2391,7 @@ c_parser_declspecs (c_parser *parser, struct c_declspecs *specs, attrs_ok = true; seen_type = true; t = c_parser_enum_specifier (parser); + invoke_plugin_callbacks (PLUGIN_FINISH_TYPE, t.spec); declspecs_add_type (loc, specs, t); break; case RID_STRUCT: