diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-02 21:18:56 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-02-02 21:18:56 +0000 |
commit | 1f0ce3ac641fa9ee515d29afb722cdcfd57ccaa2 (patch) | |
tree | a86cfdbab812738caa346f468325977f73b44d5c /gcc/c | |
parent | 9de8e93711a33ed6be1317f7e4e5e2545df66a93 (diff) | |
download | gcc-1f0ce3ac641fa9ee515d29afb722cdcfd57ccaa2.tar.gz |
2015-02-02 Bruno Loff <bruno.loff@gmail.com>
* c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks after
processing enum declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220358 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c')
-rw-r--r-- | gcc/c/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c/c-parser.c | 1 |
2 files changed, 6 insertions, 0 deletions
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 <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 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: |