diff options
author | Teravus Ovares | 2008-04-26 06:56:50 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-04-26 06:56:50 +0000 |
commit | a53cc8fbfad92d050fce30dceca88c6749cfa24e (patch) | |
tree | 063c1048979d32b8ff0c9efb5dfdc0f9962e1290 /OpenSim | |
parent | * Adds mjm's llQuaternion.GetBytes() patch to our copy of libsecondlife. (it... (diff) | |
download | opensim-SC_OLD-a53cc8fbfad92d050fce30dceca88c6749cfa24e.zip opensim-SC_OLD-a53cc8fbfad92d050fce30dceca88c6749cfa24e.tar.gz opensim-SC_OLD-a53cc8fbfad92d050fce30dceca88c6749cfa24e.tar.bz2 opensim-SC_OLD-a53cc8fbfad92d050fce30dceca88c6749cfa24e.tar.xz |
* Error on System. references with 'CS20003: 'System' is null or not an object"
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs index a766ea2..fa91544 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | |||
@@ -85,6 +85,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
85 | string quote = String.Empty; | 85 | string quote = String.Empty; |
86 | bool last_was_escape = false; | 86 | bool last_was_escape = false; |
87 | int quote_replaced_count = 0; | 87 | int quote_replaced_count = 0; |
88 | |||
89 | Match SecurityM = Regex.Match(Script, "[;}][^\"']+System\\.[^\"']", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline | RegexOptions.IgnoreCase); | ||
90 | if (SecurityM.Success) | ||
91 | throw new Exception("BC20002: 'System' is null or not an object"); | ||
92 | |||
88 | for (int p = 0; p < Script.Length; p++) | 93 | for (int p = 0; p < Script.Length; p++) |
89 | { | 94 | { |
90 | C = Script.Substring(p, 1); | 95 | C = Script.Substring(p, 1); |