diff options
author | Tedd Hansen | 2007-08-15 19:25:29 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-15 19:25:29 +0000 |
commit | 9c3251b1777cee909246f468aa672c2164a45076 (patch) | |
tree | 9e27669da596becd2647d350ea617b9fa70e27d6 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |
parent | *Added the ability to run commands after all regions have started up (diff) | |
download | opensim-SC-9c3251b1777cee909246f468aa672c2164a45076.zip opensim-SC-9c3251b1777cee909246f468aa672c2164a45076.tar.gz opensim-SC-9c3251b1777cee909246f468aa672c2164a45076.tar.bz2 opensim-SC-9c3251b1777cee909246f468aa672c2164a45076.tar.xz |
Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) and double (instead of float).
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index 6fe111f..4ed7bd4 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -40,6 +40,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
40 | 40 | ||
41 | Common.SendToDebug("Compiling"); | 41 | Common.SendToDebug("Compiling"); |
42 | 42 | ||
43 | // DEBUG - write source to disk | ||
44 | try | ||
45 | { | ||
46 | File.WriteAllText(Path.Combine("ScriptEngines", "debug_" + Path.GetFileNameWithoutExtension(LSOFileName) + ".cs"), CS_Code); | ||
47 | } | ||
48 | catch { } | ||
49 | |||
43 | // Do actual compile | 50 | // Do actual compile |
44 | System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters(); | 51 | System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters(); |
45 | parameters.IncludeDebugInformation = true; | 52 | parameters.IncludeDebugInformation = true; |