diff options
author | Tedd Hansen | 2008-02-02 03:42:35 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-02 03:42:35 +0000 |
commit | 8dc5153ad7f20bb74e582c68f700fe34f25fec24 (patch) | |
tree | 440a798a35c684fcd41763ceefc33e2bd51cede1 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |
parent | Bugfix: LSL was mapped to VB.Net compiler ... that didn't work out so well :) (diff) | |
download | opensim-SC_OLD-8dc5153ad7f20bb74e582c68f700fe34f25fec24.zip opensim-SC_OLD-8dc5153ad7f20bb74e582c68f700fe34f25fec24.tar.gz opensim-SC_OLD-8dc5153ad7f20bb74e582c68f700fe34f25fec24.tar.bz2 opensim-SC_OLD-8dc5153ad7f20bb74e582c68f700fe34f25fec24.tar.xz |
Added header/footer of scripts to make C# and VB scripts much easier to write.
Added some logging on what is happening during compile.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index 821b2d4..2f90c16 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -41,6 +41,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
41 | : base(scriptEngine) | 41 | : base(scriptEngine) |
42 | { | 42 | { |
43 | base.m_scriptEngine = scriptEngine; | 43 | base.m_scriptEngine = scriptEngine; |
44 | |||
44 | } | 45 | } |
45 | 46 | ||
46 | // KEEP TRACK OF SCRIPTS <int id, whatever script> | 47 | // KEEP TRACK OF SCRIPTS <int id, whatever script> |
@@ -57,7 +58,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
57 | 58 | ||
58 | // First time start? Lets fire up our compiler... | 59 | // First time start? Lets fire up our compiler... |
59 | if (LSLCompiler == null) | 60 | if (LSLCompiler == null) |
61 | { | ||
60 | LSLCompiler = new Compiler.LSL.Compiler(m_scriptEngine); | 62 | LSLCompiler = new Compiler.LSL.Compiler(m_scriptEngine); |
63 | } | ||
61 | 64 | ||
62 | //IScriptHost root = host.GetRoot(); | 65 | //IScriptHost root = host.GetRoot(); |
63 | 66 | ||