On 09/20/2016 11:33 AM, Marek Polacek wrote:
@@ -5135,6 +5135,30 @@ cp_parser_primary_expression (cp_parser *parser, case RID_AT_SELECTOR: return cp_parser_objc_expression (parser);+ case RID_ATTRIBUTE:
Attribute handling doesn't belong in this function; we don't want to allow attributes anywhere we see a primary-expression. This should be either in cp_parser_expression_statement or cp_parser_statement.
Jason