From b58cb740e5e08f7a11a7b176a97351bf49b0d52a Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Mon, 8 Feb 2010 09:34:51 +0100 Subject: Changed ObjC message arguments to have SimpleName for the name part. --- src/shared/cplusplus/ASTMatcher.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/shared/cplusplus/ASTMatcher.cpp') diff --git a/src/shared/cplusplus/ASTMatcher.cpp b/src/shared/cplusplus/ASTMatcher.cpp index 6992a1d1cc..7f86349551 100644 --- a/src/shared/cplusplus/ASTMatcher.cpp +++ b/src/shared/cplusplus/ASTMatcher.cpp @@ -2459,7 +2459,10 @@ bool ASTMatcher::match(ObjCMessageArgumentDeclarationAST *node, ObjCMessageArgum else if (! AST::match(node->attribute_list, pattern->attribute_list, this)) return false; - pattern->param_name_token = node->param_name_token; + if (! pattern->param_name) + pattern->param_name = node->param_name; + else if (! AST::match(node->param_name, pattern->param_name, this)) + return false; return true; } -- cgit v1.2.1