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.
This commit is contained in:
Justin Clark-Casey (justincc)
2013-11-02 00:39:12 +00:00
parent 7faf286d00
commit 2b069a3b1e
4 changed files with 7761 additions and 7540 deletions

View File

@@ -762,6 +762,7 @@ default
public void TestIfStatement()
{
TestHelpers.InMethod();
// TestHelpers.EnableLogging();
string input = @"// let's test if statements