aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
index 1734a16..5d8f445 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
@@ -259,7 +259,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
259 /// <returns>Filename to .dll assembly</returns> 259 /// <returns>Filename to .dll assembly</returns>
260 public string PerformScriptCompile(string Script, string asset) 260 public string PerformScriptCompile(string Script, string asset)
261 { 261 {
262 // lock(m_syncy)
263 m_positionMap = null; 262 m_positionMap = null;
264 263
265 string OutFile = Path.Combine(ScriptEnginesPath, Path.Combine( 264 string OutFile = Path.Combine(ScriptEnginesPath, Path.Combine(
@@ -339,7 +338,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
339 LSL_Converter = (ICodeConverter)new CSCodeGenerator(); 338 LSL_Converter = (ICodeConverter)new CSCodeGenerator();
340 compileScript = LSL_Converter.Convert(Script); 339 compileScript = LSL_Converter.Convert(Script);
341 340
342 // lock(m_syncy)
343 m_positionMap = ((CSCodeGenerator) LSL_Converter).PositionMap; 341 m_positionMap = ((CSCodeGenerator) LSL_Converter).PositionMap;
344 } 342 }
345 343
@@ -586,7 +584,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
586 584
587 public KeyValuePair<int, int> FindErrorPosition(int line, int col) 585 public KeyValuePair<int, int> FindErrorPosition(int line, int col)
588 { 586 {
589 // lock(m_syncy)
590 return FindErrorPosition(line, col, m_positionMap); 587 return FindErrorPosition(line, col, m_positionMap);
591 } 588 }
592 589
@@ -663,8 +660,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
663 660
664 public Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>> LineMap() 661 public Dictionary<KeyValuePair<int, int>, KeyValuePair<int, int>> LineMap()
665 { 662 {
666 // lock(m_syncy)
667 // {
668 if (m_positionMap == null) 663 if (m_positionMap == null)
669 return null; 664 return null;
670 665
@@ -675,7 +670,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
675 ret.Add(kvp, m_positionMap[kvp]); 670 ret.Add(kvp, m_positionMap[kvp]);
676 671
677 return ret; 672 return ret;
678 // }
679 } 673 }
680 } 674 }
681} 675}