From c3d55347b14c80f553ab8c487baded1a44acf68c Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 1 Nov 2010 15:42:39 +0000 Subject: Implemented foreach function. wildcard can now have multiple arguments --- tools/mhmake/src/mhmakefileparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/mhmake/src/mhmakefileparser.cpp') diff --git a/tools/mhmake/src/mhmakefileparser.cpp b/tools/mhmake/src/mhmakefileparser.cpp index a2d4537a0..38c5cd3ac 100644 --- a/tools/mhmake/src/mhmakefileparser.cpp +++ b/tools/mhmake/src/mhmakefileparser.cpp @@ -288,7 +288,7 @@ string mhmakefileparser::ExpandMacro(const string &Expr, bool &Recurse) const #ifdef _DEBUG if (pFunc) { - return (this->*pFunc)(Arg); + return (this->*pFunc)(Arg, &Expr); } else { -- cgit v1.2.3