Changed ObjC message arguments to have SimpleName for the name part.

This commit is contained in:
Erik Verbruggen
2010-02-08 09:34:51 +01:00
parent 4a652f6eca
commit b58cb740e5
12 changed files with 104 additions and 64 deletions

View File

@@ -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;
}