summaryrefslogtreecommitdiff
path: root/indra/lscript/lscript_compile/bison.bat
diff options
context:
space:
mode:
Diffstat (limited to 'indra/lscript/lscript_compile/bison.bat')
-rw-r--r--indra/lscript/lscript_compile/bison.bat11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/lscript/lscript_compile/bison.bat b/indra/lscript/lscript_compile/bison.bat
new file mode 100644
index 0000000000..54cf0231d9
--- /dev/null
+++ b/indra/lscript/lscript_compile/bison.bat
@@ -0,0 +1,11 @@
+@REM Run bison under Windows. This script is needed so that bison can
+@REM find m4, even if neither program is present in PATH.
+
+@set bison=%1
+set M4PATH=%2
+set M4=
+@set output=%3
+@set input=%4
+
+set PATH=%M4PATH%;%PATH%
+%bison% -d -o %output% %input%