diff options
author | Adam Frisby | 2008-04-21 07:09:17 +0000 |
---|---|---|
committer | Adam Frisby | 2008-04-21 07:09:17 +0000 |
commit | fef3b3689492dea63693c964bcdbec9f5137eb5e (patch) | |
tree | 7791eef001d85d3e1de863a68f26ff9434d062ca /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |
parent | * Terrain Module code has been reformatted to comply with guidelines. (diff) | |
download | opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.zip opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.gz opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.bz2 opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.xz |
* Optimised using statements and namespace references across entire project (this took a while to run).
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 e3013c9..fc38ef2 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -30,10 +30,10 @@ using System.CodeDom.Compiler; | |||
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Globalization; | 31 | using System.Globalization; |
32 | using System.IO; | 32 | using System.IO; |
33 | using System.Reflection; | ||
34 | using Microsoft.CSharp; | 33 | using Microsoft.CSharp; |
35 | using Microsoft.VisualBasic; | ||
36 | using Microsoft.JScript; | 34 | using Microsoft.JScript; |
35 | using Microsoft.VisualBasic; | ||
36 | using OpenSim.Region.Environment.Interfaces; | ||
37 | 37 | ||
38 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | 38 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL |
39 | { | 39 | { |
@@ -62,8 +62,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
62 | private bool WriteScriptSourceToDebugFile; | 62 | private bool WriteScriptSourceToDebugFile; |
63 | private bool CompileWithDebugInformation; | 63 | private bool CompileWithDebugInformation; |
64 | private bool CleanUpOldScriptsOnStartup; | 64 | private bool CleanUpOldScriptsOnStartup; |
65 | private System.Collections.Generic.Dictionary<string, Boolean> AllowedCompilers = new Dictionary<string, bool>(StringComparer.CurrentCultureIgnoreCase); | 65 | private Dictionary<string, bool> AllowedCompilers = new Dictionary<string, bool>(StringComparer.CurrentCultureIgnoreCase); |
66 | private System.Collections.Generic.Dictionary<string, enumCompileType> LanguageMapping = new Dictionary<string, enumCompileType>(StringComparer.CurrentCultureIgnoreCase); | 66 | private Dictionary<string, enumCompileType> LanguageMapping = new Dictionary<string, enumCompileType>(StringComparer.CurrentCultureIgnoreCase); |
67 | 67 | ||
68 | private string FilePrefix; | 68 | private string FilePrefix; |
69 | private string ScriptEnginesPath = "ScriptEngines"; | 69 | private string ScriptEnginesPath = "ScriptEngines"; |
@@ -276,7 +276,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
276 | if (enableCommanderLSL == true && l == enumCompileType.cs) | 276 | if (enableCommanderLSL == true && l == enumCompileType.cs) |
277 | { | 277 | { |
278 | foreach (KeyValuePair<string, | 278 | foreach (KeyValuePair<string, |
279 | OpenSim.Region.Environment.Interfaces.ICommander> com | 279 | ICommander> com |
280 | in m_scriptEngine.World.GetCommanders()) | 280 | in m_scriptEngine.World.GetCommanders()) |
281 | { | 281 | { |
282 | compileScript = com.Value.GenerateRuntimeAPI() + compileScript; | 282 | compileScript = com.Value.GenerateRuntimeAPI() + compileScript; |