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/mhmakeparser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/mhmake/src/mhmakeparser.y') diff --git a/tools/mhmake/src/mhmakeparser.y b/tools/mhmake/src/mhmakeparser.y index f1ab48606..515caf6e5 100644 --- a/tools/mhmake/src/mhmakeparser.y +++ b/tools/mhmake/src/mhmakeparser.y @@ -184,8 +184,8 @@ vpathrule: VPATH SPACE nonspaceexpression SPACE expression NEWLINE varassignment: VARDEF VARVAL { - m_Variables[f_strip($1)]=$2; - PRINTF(("Defining variable %s to %s\n",f_strip($1).c_str(), $2.c_str())); + m_Variables[f_strip($1,NULL)]=$2; + PRINTF(("Defining variable %s to %s\n",f_strip($1,NULL).c_str(), $2.c_str())); } | STRING EQUAL maybeemptyexpression { -- cgit v1.2.3