On 10/26/2012 01:37 PM, Dodji Seketeli wrote:
cp_next_tokens_can_be_std_attribute_p (cp_parser *parser)
{
- return cp_nth_tokens_can_be_std_attribute_p (parser, 1);
+ cp_token *token = cp_lexer_peek_token (parser->lexer);
+
+ return (cxx_dialect >= cxx0x
+ (token->type == CPP_KEYWORD && token->keyword == RID_ALIGNAS)
+ || cp_nth_tokens_can_be_std_attribute_p (parser, 1));
Shouldn't this change be in cp_nth_tokens... rather than here? Jason
