summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Parser.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-02-08 09:34:51 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-02-08 09:34:51 +0100
commitb58cb740e5e08f7a11a7b176a97351bf49b0d52a (patch)
treef6a7ffbed6dc2296b96bf229ffd054f5fce07771 /src/shared/cplusplus/Parser.cpp
parent4a652f6eca84fc641afb922f99581a6a15802a69 (diff)
downloadqt-creator-b58cb740e5e08f7a11a7b176a97351bf49b0d52a.tar.gz
Changed ObjC message arguments to have SimpleName for the name part.
Diffstat (limited to 'src/shared/cplusplus/Parser.cpp')
-rw-r--r--src/shared/cplusplus/Parser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/cplusplus/Parser.cpp b/src/shared/cplusplus/Parser.cpp
index 60828aa6fe..86fb18dd2c 100644
--- a/src/shared/cplusplus/Parser.cpp
+++ b/src/shared/cplusplus/Parser.cpp
@@ -5269,7 +5269,8 @@ bool Parser::parseObjCKeywordDeclaration(ObjCSelectorArgumentAST *&argument, Obj
while (parseAttributeSpecifier(*attr))
attr = &(*attr)->next;
- match(T_IDENTIFIER, &node->param_name_token);
+ node->param_name = new (_pool) SimpleNameAST;
+ match(T_IDENTIFIER, &node->param_name->identifier_token);
return true;
}