Accept gcc attributes in cv-qualifiers.

This commit is contained in:
Roberto Raggi
2009-01-14 15:16:02 +01:00
parent 266ee2a468
commit 653b81427c
4 changed files with 14 additions and 1 deletions

View File

@@ -751,6 +751,9 @@ bool Parser::parseCvQualifiers(SpecifierAST *&node)
spec->specifier_token = consumeToken();
*ast = spec;
ast = &(*ast)->next;
} else if(LA() == T___ATTRIBUTE__) {
parseAttributeSpecifier(*ast);
ast = &(*ast)->next;
} else {
break;
}