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/CheckDeclarator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/cplusplus/CheckDeclarator.cpp') diff --git a/src/shared/cplusplus/CheckDeclarator.cpp b/src/shared/cplusplus/CheckDeclarator.cpp index afee09023b..b168061393 100644 --- a/src/shared/cplusplus/CheckDeclarator.cpp +++ b/src/shared/cplusplus/CheckDeclarator.cpp @@ -259,7 +259,7 @@ bool CheckDeclarator::visit(ObjCMethodPrototypeAST *ast) FullySpecifiedType returnType = semantic()->check(ast->type_name, _scope); - unsigned location = ast->firstToken(); + unsigned location = ast->selector->firstToken(); semantic()->check(ast->selector, _scope); -- cgit v1.2.1