This issue tracker is closed. Please visit UPPAAL issue tracker at Github instead.

Bug 256

Summary: Wrong position reported for missing initial location
Product: UPPAAL Reporter: Marius Mikučionis <marius>
Component: libutapAssignee: Gerd Behrmann <behrmann>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P1    
Version: 3.6 Alpha 4   
Hardware: All   
OS: All   
Architecture:

Description Marius Mikučionis 2006-02-01 17:19:05 CET
Uppaal gives wrong location (points to next template) of syntax error if the
template contains one non-initial location or none locations at all.
To reproduce:
1) start uppaal with default empty spec, i.e. just one "Template" template.
2) choose edit->insert template, it will be called P0, leave it blank or create
one location without "Initial" attribute
3) choose edit->insert template, it will be called P1, create at least one
location with "Initial" attribute.
4) press F7
5) Uppaal reports syntax error: position P1, description "Missing initial
state", which is a bug: it should be position P0.
Comment 1 Gerd Behrmann 2006-02-05 19:51:46 CET
Fixed on the trunk
Comment 2 Gerd Behrmann 2006-02-05 20:15:35 CET
Resolving the bug.