diff options
Change the return value if the compiler to "object" to allow compilers
to return dynamic method objects
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index 35f791e..cb5664b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |||
@@ -259,7 +259,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
259 | // } | 259 | // } |
260 | //} | 260 | //} |
261 | 261 | ||
262 | public string GetAssemblyName(UUID assetID) | 262 | public object GetCompilerOutput(UUID assetID) |
263 | { | 263 | { |
264 | return Path.Combine(ScriptEnginesPath, Path.Combine( | 264 | return Path.Combine(ScriptEnginesPath, Path.Combine( |
265 | m_scriptEngine.World.RegionInfo.RegionID.ToString(), | 265 | m_scriptEngine.World.RegionInfo.RegionID.ToString(), |
@@ -271,7 +271,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
271 | /// </summary> | 271 | /// </summary> |
272 | /// <param name="Script">LSL script</param> | 272 | /// <param name="Script">LSL script</param> |
273 | /// <returns>Filename to .dll assembly</returns> | 273 | /// <returns>Filename to .dll assembly</returns> |
274 | public string PerformScriptCompile(string Script, string asset, UUID ownerUUID) | 274 | public object PerformScriptCompile(string Script, string asset, UUID ownerUUID) |
275 | { | 275 | { |
276 | m_positionMap = null; | 276 | m_positionMap = null; |
277 | m_warnings.Clear(); | 277 | m_warnings.Clear(); |