Commit a4bb6959 by Bruno Loff Committed by Diego Novillo

c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks after processing enum declaration.

2015-02-02  Bruno Loff <bruno.loff@gmail.com>

	* c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks after
	processing enum declaration.

From-SVN: r220358
parent 4c5cf0b2
2015-02-02 Bruno Loff <bruno.loff@gmail.com>
* c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks after
processing enum declaration.
2015-01-29 Marek Polacek <polacek@redhat.com>
PR c/64709
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment