aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/makebison.bat
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-18 07:22:26 +0000
committermarha <marha@users.sourceforge.net>2010-02-18 07:22:26 +0000
commit24d6ec0750afd0c393bab09aabe174da824a8c56 (patch)
treec856ef924b12b5f1a88809208c38438cc874e6a1 /tools/mhmake/makebison.bat
parent5a30da03ddafd49caf68942f7ddf021bd898ef6d (diff)
downloadvcxsrv-24d6ec0750afd0c393bab09aabe174da824a8c56.tar.gz
vcxsrv-24d6ec0750afd0c393bab09aabe174da824a8c56.tar.bz2
vcxsrv-24d6ec0750afd0c393bab09aabe174da824a8c56.zip
svn merge --reintegrate ^/branches/mhmake.parallel .
Diffstat (limited to 'tools/mhmake/makebison.bat')
-rw-r--r--tools/mhmake/makebison.bat8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/mhmake/makebison.bat b/tools/mhmake/makebison.bat
index db9427a7f..ccbe58f54 100644
--- a/tools/mhmake/makebison.bat
+++ b/tools/mhmake/makebison.bat
@@ -1,11 +1,11 @@
@echo off
setlocal
-if not exist src\parser mkdir src\parser
-"bison++" -d -Ssrc\bison.cc -Hsrc\bison.h -hsrc\parser\mhmakeparser.h -osrc\parser\mhmakeparser.cpp src\mhmakeparser.y
+cd %1
+"..\bison++" -d -S%3 -H%4 -h%5 -o%6 %2
-set file=src\parser\mhmakeparser.cpp
-set tempfile=src\parser\temp12345.5678
+set file=%6
+set tempfile=%RANDOM%bison.tmp
move %file% %tempfile%
echo #include "stdafx.h" > %file%