mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-02 08:08:20 +00:00
Parser fix: Give error in state switch when ident is not a state
This commit is contained in:
parent
1d1aba9687
commit
28de23a03b
3 changed files with 10 additions and 2 deletions
3
unit_tests/regression.suite/state-global.err
Normal file
3
unit_tests/regression.suite/state-global.err
Normal file
|
@ -0,0 +1,3 @@
|
|||
default{timer(){state Z;}}
|
||||
^
|
||||
(Line 2 char 23): ERROR: Name not defined within scope
|
2
unit_tests/regression.suite/state-global.lsl
Normal file
2
unit_tests/regression.suite/state-global.lsl
Normal file
|
@ -0,0 +1,2 @@
|
|||
integer Z;
|
||||
default{timer(){state Z;}}
|
Loading…
Add table
Add a link
Reference in a new issue