diff options
author | marha <marha@users.sourceforge.net> | 2010-11-19 12:10:26 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-11-19 12:10:26 +0000 |
commit | 111cb82886d25b0b7faa526ce411cc8ef02235a6 (patch) | |
tree | 5d3adf48380b9c741902483f621806d7b75dc4e1 /tools/mhmake/makebison.bat | |
parent | 8fd6c61557d06a2434cf0e296df38f218ba2c186 (diff) | |
download | vcxsrv-111cb82886d25b0b7faa526ce411cc8ef02235a6.tar.gz vcxsrv-111cb82886d25b0b7faa526ce411cc8ef02235a6.tar.bz2 vcxsrv-111cb82886d25b0b7faa526ce411cc8ef02235a6.zip |
Merged tools from trunk into released. This is to keep track of the original versions of tools
Diffstat (limited to 'tools/mhmake/makebison.bat')
-rw-r--r-- | tools/mhmake/makebison.bat | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/mhmake/makebison.bat b/tools/mhmake/makebison.bat new file mode 100644 index 000000000..5ee3dee50 --- /dev/null +++ b/tools/mhmake/makebison.bat @@ -0,0 +1,21 @@ +setlocal
+if not isdir src\parser mkdir src\parser
+
+bison++ -d -Ssrc\bison.cc -Hsrc\bison.h -hsrc\parser\mhmakeparser.h -osrc\parser\mhmakeparser.cpp src\mhmakeparser.y
+
+set file=src\parser\mhmakeparser.cpp
+set tempfile=src\parser\temp12345.5678
+GOSUB AddStdAfx
+
+goto END
+
+:AddStdAfx
+rename /q %file %tempfile
+echo #include "stdafx.h" > %file
+type %tempfile >> %file
+del /q %tempfile
+RETURN
+
+:END
+endlocal
+
|