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/transition/label: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.