EgtExecutor 1.6h5 :

- corretta trasformazioni stringhe in stringhe Lua con '
- aggiunta gestione import BTL.
This commit is contained in:
Dario Sassi
2015-09-01 07:29:08 +00:00
parent 9811b5a249
commit fbe1fa4757
11 changed files with 113 additions and 76 deletions
+2 -4
View File
@@ -15,6 +15,7 @@
#include "stdafx.h"
#include "EXE.h"
#include "LUA_Base.h"
#include "AuxTools.h"
#include "/EgtDev/Include/EXeExecutor.h"
#include "/EgtDev/Include/EGnStringUtils.h"
#include "/EgtDev/Include/EgtStringConverter.h"
@@ -204,10 +205,7 @@ ExeLuaExecFile( const string& sFilePath)
ExeEnableCommandLogger() ;
// se richiesto, salvo il comando Lua
if ( IsCmdLog()) {
string sLuaPath = sFilePath ;
ReplaceString( sLuaPath, "\\", "\\\\") ;
ReplaceString( sLuaPath, "'", "\\'") ;
string sLua = "dofile('" + sLuaPath + "')" +
string sLua = "dofile('" + StringToLuaString( sFilePath) + "')" +
" -- Ok=" + ToString( bOk) ;
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
}