aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/mhmakeparser.y
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-11-01 15:42:39 +0000
committermarha <marha@users.sourceforge.net>2010-11-01 15:42:39 +0000
commitc3d55347b14c80f553ab8c487baded1a44acf68c (patch)
treec2f8ea3bfe70d8d3cde803fd854879b44e2c4f4e /tools/mhmake/src/mhmakeparser.y
parent6ed6717dee7a472ae12f3f0e3c526c68425da8e7 (diff)
downloadvcxsrv-c3d55347b14c80f553ab8c487baded1a44acf68c.tar.gz
vcxsrv-c3d55347b14c80f553ab8c487baded1a44acf68c.tar.bz2
vcxsrv-c3d55347b14c80f553ab8c487baded1a44acf68c.zip
Implemented foreach function.
wildcard can now have multiple arguments
Diffstat (limited to 'tools/mhmake/src/mhmakeparser.y')
-rw-r--r--tools/mhmake/src/mhmakeparser.y4
1 files changed, 2 insertions, 2 deletions
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
{