aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/makebison.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mhmake/makebison.bat')
-rw-r--r--tools/mhmake/makebison.bat8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/mhmake/makebison.bat b/tools/mhmake/makebison.bat
index 9d46f535a..fa23090e5 100644
--- a/tools/mhmake/makebison.bat
+++ b/tools/mhmake/makebison.bat
@@ -1,4 +1,10 @@
@echo off
-"bison++" -d -Ssrc/bison.cc -Hsrc/bison.h -h%1/mhmakeparser.h -o%1/mhmakeparser.cpp src\mhmakeParser.y
+setlocal
+
+set M4=.\m4.exe
+set BISON_PKGDATADIR=src/bisondata
+
+bison -d -ra -Ssrc/bisondata/lalr1.cc -o%1/mhmakeparser.cpp src\mhmakeParser.y
python addstdafxh.py %1\mhmakeparser.cpp
+endlocal