aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/makelex.bat
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-18 07:22:26 +0000
committermarha <marha@users.sourceforge.net>2010-02-18 07:22:26 +0000
commit24d6ec0750afd0c393bab09aabe174da824a8c56 (patch)
treec856ef924b12b5f1a88809208c38438cc874e6a1 /tools/mhmake/makelex.bat
parent5a30da03ddafd49caf68942f7ddf021bd898ef6d (diff)
downloadvcxsrv-24d6ec0750afd0c393bab09aabe174da824a8c56.tar.gz
vcxsrv-24d6ec0750afd0c393bab09aabe174da824a8c56.tar.bz2
vcxsrv-24d6ec0750afd0c393bab09aabe174da824a8c56.zip
svn merge --reintegrate ^/branches/mhmake.parallel .
Diffstat (limited to 'tools/mhmake/makelex.bat')
-rw-r--r--tools/mhmake/makelex.bat8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/mhmake/makelex.bat b/tools/mhmake/makelex.bat
index 4d1b24b99..0705f4bb1 100644
--- a/tools/mhmake/makelex.bat
+++ b/tools/mhmake/makelex.bat
@@ -1,11 +1,11 @@
@echo off
setlocal
-if not exist src\parser mkdir src\parser
-"flex++" -8 -Ssrc\flexskel.cc -Hsrc\flexskel.h -hsrc\parser\mhmakelexer.h -osrc\parser\mhmakelexer.cpp src\mhmakelexer.l
+cd %1
+"..\flex++" -8 -S%3 -H%4 -h%5 -o%6 %2
-set file=src\parser\mhmakelexer.cpp
-set tempfile=src\parser\temp12345.5678
+set file=%6
+set tempfile=%RANDOM%lex.tmp
move %file% %tempfile%
echo #include "stdafx.h" > %file%