summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Parser.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 12:49:49 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 16:20:11 +0100
commit86a8812beb9b122c37e474810dbf43567d727cac (patch)
treedfb623f6c2ec110bdce1cc8a869ebba67ac3b0cd /src/shared/cplusplus/Parser.cpp
parent4c246763627cbc69b09ebe2ac1ea8be16669569f (diff)
downloadqt-creator-86a8812beb9b122c37e474810dbf43567d727cac.tar.gz
Removed ObjCSynthesizedPropertyAST
Done with Erik Verbruggen
Diffstat (limited to 'src/shared/cplusplus/Parser.cpp')
-rw-r--r--src/shared/cplusplus/Parser.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/shared/cplusplus/Parser.cpp b/src/shared/cplusplus/Parser.cpp
index cec6388eee..40581cc9e9 100644
--- a/src/shared/cplusplus/Parser.cpp
+++ b/src/shared/cplusplus/Parser.cpp
@@ -4577,13 +4577,13 @@ bool Parser::parseObjCMethodDefinitionList(DeclarationListAST *&node)
ast->synthesized_token = consumeToken();
ObjCSynthesizedPropertyListAST *last = new (_pool) ObjCSynthesizedPropertyListAST;
ast->property_identifiers = last;
- last->synthesized_property = new (_pool) ObjCSynthesizedPropertyAST;
- match(T_IDENTIFIER, &(last->synthesized_property->property_identifier));
+ last->value = new (_pool) ObjCSynthesizedPropertyAST;
+ match(T_IDENTIFIER, &(last->value->property_identifier));
if (LA() == T_EQUAL) {
- last->synthesized_property->equals_token = consumeToken();
+ last->value->equals_token = consumeToken();
- match(T_IDENTIFIER, &(last->synthesized_property->property_alias_identifier));
+ match(T_IDENTIFIER, &(last->value->property_alias_identifier));
}
while (LA() == T_COMMA) {
@@ -4592,13 +4592,13 @@ bool Parser::parseObjCMethodDefinitionList(DeclarationListAST *&node)
last->next = new (_pool) ObjCSynthesizedPropertyListAST;
last = last->next;
- last->synthesized_property = new (_pool) ObjCSynthesizedPropertyAST;
- match(T_IDENTIFIER, &(last->synthesized_property->property_identifier));
+ last->value = new (_pool) ObjCSynthesizedPropertyAST;
+ match(T_IDENTIFIER, &(last->value->property_identifier));
if (LA() == T_EQUAL) {
- last->synthesized_property->equals_token = consumeToken();
+ last->value->equals_token = consumeToken();
- match(T_IDENTIFIER, &(last->synthesized_property->property_alias_identifier));
+ match(T_IDENTIFIER, &(last->value->property_alias_identifier));
}
}