diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 12:47:08 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 16:20:11 +0100 |
commit | 98802456b3b7573e0f76779c9ed4fb2007a8612d (patch) | |
tree | f47bb05d3cfc70cb9e5d0a86cd887e2ba66f2902 /src/shared/cplusplus/Parser.cpp | |
parent | e5c9aaab4b1c4ac709eab50dc043e3c69235ecf7 (diff) | |
download | qt-creator-98802456b3b7573e0f76779c9ed4fb2007a8612d.tar.gz |
Removed ObjCPropertyAttributeListAST
Done with Erik Verbruggen
Diffstat (limited to 'src/shared/cplusplus/Parser.cpp')
-rw-r--r-- | src/shared/cplusplus/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/Parser.cpp b/src/shared/cplusplus/Parser.cpp index a1536608f6..4f31a9e07d 100644 --- a/src/shared/cplusplus/Parser.cpp +++ b/src/shared/cplusplus/Parser.cpp @@ -4845,14 +4845,14 @@ bool Parser::parseObjCPropertyDeclaration(DeclarationAST *&node, SpecifierAST *a ObjCPropertyAttributeAST *property_attribute = 0; if (parseObjCPropertyAttribute(property_attribute)) { ast->property_attributes = new (_pool) ObjCPropertyAttributeListAST; - ast->property_attributes->attr = property_attribute; + ast->property_attributes->value = property_attribute; ObjCPropertyAttributeListAST *last = ast->property_attributes; while (LA() == T_COMMA) { consumeToken(); // consume T_COMMA last->next = new (_pool) ObjCPropertyAttributeListAST; last = last->next; - if (!parseObjCPropertyAttribute(last->attr)) { + if (!parseObjCPropertyAttribute(last->value)) { _translationUnit->error(_tokenIndex, "expected token `%s' got `%s'", Token::name(T_IDENTIFIER), tok().spell()); while (LA() != T_RPAREN) |