Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005490opensim[REGION] Scripting Enginepublic2011-05-19 12:332012-08-21 21:04
ReporterSignpostMarv 
Assigned Tomelanie 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionnot fixable 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005490: Script compiler does not warn when attempting to use non-existent states
DescriptionIf 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 Informationdefault
{
    state_entry()
    {
        state this_should_fail_but_it_does_not;
    }
}
TagsNo tags attached.
Git Revision or version numberd4fcba08af080bcc60da490155cc88d3f20e7dda
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBasicPhysics
Environment.NET / Windows32
Mono VersionNone
ViewerImprudence 1.4.0
Attached Files

- Relationships

-  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
Powered by Mantis Bugtracker