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

Bug 256 - Wrong position reported for missing initial location
Summary: Wrong position reported for missing initial location
Status: RESOLVED FIXED
Alias: None
Product: UPPAAL
Classification: Unclassified
Component: libutap (show other bugs)
Version: 3.6 Alpha 4
Hardware: All All
: P1 minor
Assignee: Gerd Behrmann
URL:
Depends on:
Blocks:
 
Reported: 2006-02-01 17:19 CET by Marius Mikučionis
Modified: 2006-02-05 20:15 CET (History)
0 users

See Also:
Architecture:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.