diff options
author | UbitUmarov | 2018-02-25 00:49:44 +0000 |
---|---|---|
committer | UbitUmarov | 2018-02-25 00:49:44 +0000 |
commit | 5ff57f01b7ab8844c192136c7f42882133f7650a (patch) | |
tree | 701e9efd2dc5c10e989a12c39beed9d0d4155dcd /OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs | |
parent | Y(xmr)engine cosmetics... (diff) | |
download | opensim-SC-5ff57f01b7ab8844c192136c7f42882133f7650a.zip opensim-SC-5ff57f01b7ab8844c192136c7f42882133f7650a.tar.gz opensim-SC-5ff57f01b7ab8844c192136c7f42882133f7650a.tar.bz2 opensim-SC-5ff57f01b7ab8844c192136c7f42882133f7650a.tar.xz |
Yengine: change filename extentions on scripts state (better delete contents of bin/scriptengines/yengine .. btw bin/scriptdata is not used anymore )
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs index bd7ccc1..d16ba47 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptCompile.cs | |||
@@ -48,8 +48,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
48 | string sourceHash = null; | 48 | string sourceHash = null; |
49 | TextWriter saveSource = null; | 49 | TextWriter saveSource = null; |
50 | 50 | ||
51 | string objFileName = GetScriptFileName (m_ScriptObjCodeKey + ".xmrobj"); | 51 | string objFileName = GetScriptFileName (m_ScriptObjCodeKey + ".yobj"); |
52 | string tmpFileName = GetScriptFileName (m_ScriptObjCodeKey + ".xmrtmp"); | 52 | string tmpFileName = GetScriptFileName (m_ScriptObjCodeKey + ".ytmp"); |
53 | 53 | ||
54 | // If we already have an object file, don't bother compiling. | 54 | // If we already have an object file, don't bother compiling. |
55 | if (!m_ForceRecomp && File.Exists(objFileName)) | 55 | if (!m_ForceRecomp && File.Exists(objFileName)) |
@@ -139,7 +139,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
139 | // Since we just wrote the .xmrobj file, maybe save disassembly. | 139 | // Since we just wrote the .xmrobj file, maybe save disassembly. |
140 | if (m_Engine.m_ScriptDebugSaveIL) | 140 | if (m_Engine.m_ScriptDebugSaveIL) |
141 | { | 141 | { |
142 | string asmFileName = GetScriptFileName (m_ScriptObjCodeKey + ".xmrasm"); | 142 | string asmFileName = GetScriptFileName (m_ScriptObjCodeKey + ".yasm"); |
143 | // m_log.Debug ("[YEngine]: MMRScriptCompileSaveILGen: saving to " + asmFileName); | 143 | // m_log.Debug ("[YEngine]: MMRScriptCompileSaveILGen: saving to " + asmFileName); |
144 | asmFileWriter = File.CreateText (asmFileName); | 144 | asmFileWriter = File.CreateText (asmFileName); |
145 | } | 145 | } |