diff options
author | Justin Clark-Casey (justincc) | 2013-11-02 00:39:12 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-11-02 00:39:12 +0000 |
commit | 2b069a3b1ea6750d35e318989c8b982e82adba43 (patch) | |
tree | 54b9490d1247b477c0a9b12fe935f1aa1a002625 /OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests | |
parent | add null check for jpeg2000 sculpt image decode failure. Note: the j2kDecodeC... (diff) | |
download | opensim-SC-2b069a3b1ea6750d35e318989c8b982e82adba43.zip opensim-SC-2b069a3b1ea6750d35e318989c8b982e82adba43.tar.gz opensim-SC-2b069a3b1ea6750d35e318989c8b982e82adba43.tar.bz2 opensim-SC-2b069a3b1ea6750d35e318989c8b982e82adba43.tar.xz |
If the LSL state_entry() event definition contains any parameters, then generate syntax error as seen on the LL grid
This is done through the parser and so generates the same syntax error message if any parameters are wrongly specified for this event.
We were already enforcing event names in the parser.
This is only for state_entry so far as an initial test of the approach - appears to work correctly.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs index 77e087c..b92f3a3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs | |||
@@ -762,6 +762,7 @@ default | |||
762 | public void TestIfStatement() | 762 | public void TestIfStatement() |
763 | { | 763 | { |
764 | TestHelpers.InMethod(); | 764 | TestHelpers.InMethod(); |
765 | // TestHelpers.EnableLogging(); | ||
765 | 766 | ||
766 | string input = @"// let's test if statements | 767 | string input = @"// let's test if statements |
767 | 768 | ||