aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-13 23:19:18 +0000
committerTeravus Ovares2008-05-13 23:19:18 +0000
commit3c7e6b0c1e9efebbd15768946ab9067c5fb0a591 (patch)
tree0bccaa4643730e0030143ab19a3c47154713ac2a /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL
parent*Locked objects can now be unlocked (diff)
downloadopensim-SC_OLD-3c7e6b0c1e9efebbd15768946ab9067c5fb0a591.zip
opensim-SC_OLD-3c7e6b0c1e9efebbd15768946ab9067c5fb0a591.tar.gz
opensim-SC_OLD-3c7e6b0c1e9efebbd15768946ab9067c5fb0a591.tar.bz2
opensim-SC_OLD-3c7e6b0c1e9efebbd15768946ab9067c5fb0a591.tar.xz
* Tweaked a regex that was returning invalid results in some cases.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
index 69aa0b0..2100900 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
@@ -97,7 +97,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
97 for (int p = 0; p < blocked.Length;p++) 97 for (int p = 0; p < blocked.Length;p++)
98 { 98 {
99 99
100 Match SecurityM = Regex.Match(Script, "[;}][^\"']+" + blocked[p].Replace(".", "\\.") + "\\.[^\"']", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline | RegexOptions.IgnoreCase); 100 Match SecurityM = Regex.Match(Script, "[;}][^\"']+" + blocked[p].Replace(".", "\\.") + "\\.[^\"']", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline);
101 if (SecurityM.Success) 101 if (SecurityM.Success)
102 throw new Exception("CS0103: 'The name '" + blocked[p] + "' does not exist in the current context'"); 102 throw new Exception("CS0103: 'The name '" + blocked[p] + "' does not exist in the current context'");
103 103