From 36a0ea2bcbe306ef845549defb894f479b47a9a1 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Tue, 10 Nov 2009 11:23:35 +0100 Subject: Removed DeclarationListAST node. Done with Erik Verbruggen --- 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 b44c90f955..6fd9245875 100644 --- a/src/shared/cplusplus/CheckDeclarator.cpp +++ b/src/shared/cplusplus/CheckDeclarator.cpp @@ -174,7 +174,7 @@ bool CheckDeclarator::visit(FunctionDeclaratorAST *ast) if (ast->parameters) { DeclarationListAST *parameter_declarations = ast->parameters->parameter_declarations; for (DeclarationListAST *decl = parameter_declarations; decl; decl = decl->next) { - semantic()->check(decl->declaration, fun->arguments()); + semantic()->check(decl->value, fun->arguments()); } if (ast->parameters->dot_dot_dot_token) -- cgit v1.2.1