diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 3 |
2 files changed, 4 insertions, 2 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 |
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index e8cfdf7..cbf7980 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |||
@@ -555,7 +555,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
555 | } | 555 | } |
556 | catch (KeyNotFoundException) // we don't have this line/column mapped | 556 | catch (KeyNotFoundException) // we don't have this line/column mapped |
557 | { | 557 | { |
558 | lslPos = new KeyValuePair<int, int>(-1, -1); | 558 | m_scriptEngine.Log.Debug(String.Format("[Compiler]: Lookup of C# line {0}, column {1} failed.", CompErr.Line, CompErr.Column)); |
559 | lslPos = new KeyValuePair<int, int>(-CompErr.Line, -CompErr.Column); | ||
559 | } | 560 | } |
560 | 561 | ||
561 | // The Second Life viewer's script editor begins | 562 | // The Second Life viewer's script editor begins |