diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 906b0c3..c82eb03 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -22314,7 +22314,8 @@ cp_parser_objc_protocol_declaration (cp_parser* parser, tree attributes) /* Try a forward declaration first. */ if (tok->type == CPP_COMMA || tok->type == CPP_SEMICOLON) { - objc_declare_protocols (cp_parser_objc_identifier_list (parser)); + objc_declare_protocols (cp_parser_objc_identifier_list (parser), + attributes); finish: cp_parser_consume_semicolon_at_end_of_statement (parser); } |