diff options
Diffstat (limited to 'tools/mhmake/makebison.bat')
-rw-r--r-- | tools/mhmake/makebison.bat | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/tools/mhmake/makebison.bat b/tools/mhmake/makebison.bat index ccbe58f54..9d46f535a 100644 --- a/tools/mhmake/makebison.bat +++ b/tools/mhmake/makebison.bat @@ -1,16 +1,4 @@ @echo off
-setlocal
-
-cd %1
-"..\bison++" -d -S%3 -H%4 -h%5 -o%6 %2
-
-set file=%6
-set tempfile=%RANDOM%bison.tmp
-
-move %file% %tempfile%
-echo #include "stdafx.h" > %file%
-type %tempfile% >> %file%
-del /q %tempfile%
-
-endlocal
+"bison++" -d -Ssrc/bison.cc -Hsrc/bison.h -h%1/mhmakeparser.h -o%1/mhmakeparser.cpp src\mhmakeParser.y
+python addstdafxh.py %1\mhmakeparser.cpp
|