| Anonymous | Login | Signup for a new account | 2013-05-18 23:38 UTC | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Summary | My Account |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0005490 | opensim | [REGION] Scripting Engine | public | 2011-05-19 12:33 | 2012-08-21 21:04 | ||||
| Reporter | SignpostMarv | ||||||||
| Assigned To | melanie | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | not fixable | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0005490: Script compiler does not warn when attempting to use non-existent states | ||||||||
| Description | If an LSL script attempts to switch to a state that hasn't been declared in the script, the compiler should provide a warning to the effect that the user has forgotten to include the state declaration. | ||||||||
| Additional Information | default { state_entry() { state this_should_fail_but_it_does_not; } } | ||||||||
| Tags | No tags attached. | ||||||||
| Git Revision or version number | d4fcba08af080bcc60da490155cc88d3f20e7dda | ||||||||
| Run Mode | Grid (Multiple Regions per Sim) | ||||||||
| Physics Engine | BasicPhysics | ||||||||
| Environment | .NET / Windows32 | ||||||||
| Mono Version | None | ||||||||
| Viewer | Imprudence 1.4.0 | ||||||||
| Attached Files | |||||||||
Notes |
|
|
(0018449) SignpostMarv (reporter) 2011-05-19 13:33 |
// another script that is counter-intuitive default{ state_entry(){ state does_state_exit_fire; llOwnerSay("no"); } state_exit(){ llOwnerSay("yes"); } } |
|
(0022078) SignpostMarv (reporter) 2012-08-15 08:41 edited on: 2012-08-15 09:02 |
This issue affects 0.7.3 release, 0.7.4-rc1 and master dc82ad |
|
(0022404) melanie (administrator) 2012-08-21 21:04 |
This can't be fixed without a compiler/parser that is aware of states and maintains a list of them, parsing would become two-pass. Not worth the trouble because a runtime error exists. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-05-19 12:33 | SignpostMarv | New Issue | |
| 2011-05-19 12:33 | SignpostMarv | Git Revision | => d4fcba08af080bcc60da490155cc88d3f20e7dda |
| 2011-05-19 12:33 | SignpostMarv | SVN Revision | => 0 |
| 2011-05-19 12:33 | SignpostMarv | Run Mode | => Grid (Multiple Regions per Sim) |
| 2011-05-19 12:33 | SignpostMarv | Physics Engine | => BasicPhysics |
| 2011-05-19 12:33 | SignpostMarv | Environment | => .NET / Windows32 |
| 2011-05-19 12:33 | SignpostMarv | Mono Version | => None |
| 2011-05-19 12:33 | SignpostMarv | Viewer | => Imprudence 1.4.0 |
| 2011-05-19 13:33 | SignpostMarv | Note Added: 0018449 | |
| 2012-08-15 08:41 | SignpostMarv | Note Added: 0022078 | |
| 2012-08-15 08:41 | SignpostMarv | Fixed in Version | => 0.7.4-rc1 |
| 2012-08-15 09:02 | SignpostMarv | Note Edited: 0022078 | View Revisions |
| 2012-08-15 09:02 | SignpostMarv | Note Edited: 0022078 | View Revisions |
| 2012-08-18 11:32 | DMX04 | Issue cloned: 0006199 | |
| 2012-08-21 21:04 | melanie | Note Added: 0022404 | |
| 2012-08-21 21:04 | melanie | Status | new => resolved |
| 2012-08-21 21:04 | melanie | Resolution | open => not fixable |
| 2012-08-21 21:04 | melanie | Assigned To | => melanie |
| Copyright © 2000 - 2012 MantisBT Group |