Removed ObjCMessageArgumentDeclarationListAST

Done with Erik Verbruggen
This commit is contained in:
Roberto Raggi
2009-11-10 12:48:33 +01:00
parent 98802456b3
commit 4c24676362
6 changed files with 4 additions and 50 deletions

View File

@@ -4899,7 +4899,7 @@ bool Parser::parseObjCMethodPrototype(ObjCMethodPrototypeAST *&node)
sel->selector_arguments->value = argument;
ast->arguments = new (_pool) ObjCMessageArgumentDeclarationListAST;
ast->arguments->argument_declaration = declaration;
ast->arguments->value = declaration;
ObjCMessageArgumentDeclarationListAST *lastArg = ast->arguments;
while (parseObjCKeywordDeclaration(argument, declaration)) {
@@ -4909,7 +4909,7 @@ bool Parser::parseObjCMethodPrototype(ObjCMethodPrototypeAST *&node)
lastArg->next = new (_pool) ObjCMessageArgumentDeclarationListAST;
lastArg = lastArg->next;
lastArg->argument_declaration = declaration;
lastArg->value = declaration;
}
while (LA() == T_COMMA) {