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

Bug 586

Summary: syntax error location is wrong
Product: UPPAAL Reporter: Marius Mikučionis <marius>
Component: GUIAssignee: Wei Zhao <zhaow>
Status: ASSIGNED ---    
Severity: minor CC: adavid
Priority: P5    
Version: unspecified   
Hardware: All   
OS: All   
Architecture:
Attachments: model with wrong error location

Description Marius Mikučionis 2014-10-07 12:14:26 CEST
Created attachment 272 [details]
model with wrong error location

there is some strange interaction between comments and other labels:
the engine correctly spots the error:
/nta/template[1]/transition[1]/label[1]:1: [error] Unknown identifier: undefined_variable.

however the GUI is trying to display this error in the comment field.

I guess that GUI has a different ordering of labels where the comment appears as the first label.