diff options
author | Mike Mazur | 2008-07-27 10:41:44 +0000 |
---|---|---|
committer | Mike Mazur | 2008-07-27 10:41:44 +0000 |
commit | e17520621c5ea8fd5fa8c1d24900905443e533aa (patch) | |
tree | 615ac944a0766c6d2f7195a2111aa0e26364154b /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler | |
parent | Conversion from double to LSLInteger needs to be explicit. Fix issue 1826. (diff) | |
download | opensim-SC-e17520621c5ea8fd5fa8c1d24900905443e533aa.zip opensim-SC-e17520621c5ea8fd5fa8c1d24900905443e533aa.tar.gz opensim-SC-e17520621c5ea8fd5fa8c1d24900905443e533aa.tar.bz2 opensim-SC-e17520621c5ea8fd5fa8c1d24900905443e533aa.tar.xz |
Log to console if C# line/column lookup fails.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index e2e8d36..d5271a1 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -491,7 +491,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
491 | //} | 491 | //} |
492 | //catch (KeyNotFoundException) // we don't have this line/column mapped | 492 | //catch (KeyNotFoundException) // we don't have this line/column mapped |
493 | //{ | 493 | //{ |
494 | // lslPos = new KeyValuePair<int, int>(-1, -1); | 494 | // m_scriptEngine.Log.Debug(String.Format("[{0}]: Lookup of C# line {1}, column {2} failed.", m_scriptEngine.ScriptEngineName, CompErr.Line, CompErr.Column)); |
495 | // lslPos = new KeyValuePair<int, int>(-CompErr.Line, -CompErr.Column); | ||
495 | //} | 496 | //} |
496 | 497 | ||
497 | // The Second Life viewer's script editor begins | 498 | // The Second Life viewer's script editor begins |