|
@@ -1196,10 +1196,12 @@ def CompileBison(pre,dstc,dsth,src):
|
|
|
CopyFile(PREFIX+"/tmp/", "thirdparty/win-util/bison.simple")
|
|
CopyFile(PREFIX+"/tmp/", "thirdparty/win-util/bison.simple")
|
|
|
bisonFullPath=os.path.abspath("thirdparty/win-util/bison.exe")
|
|
bisonFullPath=os.path.abspath("thirdparty/win-util/bison.exe")
|
|
|
oslocalcmd(PREFIX+"/tmp", bisonFullPath+" -y -d -p " + pre + " " + fn)
|
|
oslocalcmd(PREFIX+"/tmp", bisonFullPath+" -y -d -p " + pre + " " + fn)
|
|
|
|
|
+ CopyFile(dstc, PREFIX+"/tmp/y_tab.c")
|
|
|
|
|
+ CopyFile(dsth, PREFIX+"/tmp/y_tab.h")
|
|
|
if (COMPILER=="LINUXA"):
|
|
if (COMPILER=="LINUXA"):
|
|
|
oslocalcmd(PREFIX+"/tmp", "bison -y -d -p "+pre+" "+fn)
|
|
oslocalcmd(PREFIX+"/tmp", "bison -y -d -p "+pre+" "+fn)
|
|
|
- CopyFile(dstc, PREFIX+"/tmp/y.tab.c")
|
|
|
|
|
- CopyFile(dsth, PREFIX+"/tmp/y.tab.h")
|
|
|
|
|
|
|
+ CopyFile(dstc, PREFIX+"/tmp/y.tab.c")
|
|
|
|
|
+ CopyFile(dsth, PREFIX+"/tmp/y.tab.h")
|
|
|
updatefiledate(dstc)
|
|
updatefiledate(dstc)
|
|
|
updatefiledate(dsth)
|
|
updatefiledate(dsth)
|
|
|
|
|
|