diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index abad59c..7113f1a 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -39,9 +39,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
39 | { | 39 | { |
40 | public class Compiler | 40 | public class Compiler |
41 | { | 41 | { |
42 | private static readonly log4net.ILog m_log | 42 | private static readonly log4net.ILog m_log |
43 | = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 43 | = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); |
44 | 44 | ||
45 | // * Uses "LSL2Converter" to convert LSL to C# if necessary. | 45 | // * Uses "LSL2Converter" to convert LSL to C# if necessary. |
46 | // * Compiles C#-code into an assembly | 46 | // * Compiles C#-code into an assembly |
47 | // * Returns assembly name ready for AppDomain load. | 47 | // * Returns assembly name ready for AppDomain load. |
@@ -291,8 +291,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
291 | 291 | ||
292 | if (enableCommanderLSL == true && l == enumCompileType.cs) | 292 | if (enableCommanderLSL == true && l == enumCompileType.cs) |
293 | { | 293 | { |
294 | foreach (KeyValuePair<string, | 294 | foreach (KeyValuePair<string, |
295 | ICommander> com | 295 | ICommander> com |
296 | in m_scriptEngine.World.GetCommanders()) | 296 | in m_scriptEngine.World.GetCommanders()) |
297 | { | 297 | { |
298 | compileScript = com.Value.GenerateRuntimeAPI() + compileScript; | 298 | compileScript = com.Value.GenerateRuntimeAPI() + compileScript; |
@@ -318,7 +318,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
318 | m_log.Debug("[ScriptEngine.DotNetEngine]: Preparing to compile the following LSL to C# translated code"); | 318 | m_log.Debug("[ScriptEngine.DotNetEngine]: Preparing to compile the following LSL to C# translated code"); |
319 | m_log.Debug(""); | 319 | m_log.Debug(""); |
320 | m_log.Debug(compileScript); | 320 | m_log.Debug(compileScript); |
321 | 321 | ||
322 | return CompileFromDotNetText(compileScript, l); | 322 | return CompileFromDotNetText(compileScript, l); |
323 | } | 323 | } |
324 | 324 | ||