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.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/mhmake/makebison.bat b/tools/mhmake/makebison.bat
new file mode 100644
index 000000000..fa23090e5
--- /dev/null
+++ b/tools/mhmake/makebison.bat
@@ -0,0 +1,10 @@
+@echo off
+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