altstep must not require semicolon after the local definition section
Submitted by Jeno Attila Balasko
Link to original bug (#493495)
Description
In altstep, after the local definitions a ";" is mandatory otherwise the first altstep is markered as erroneous. This is faulty, semicolon is optional according to the ttcn3 standard (e.g ETSI ES 201 873-1 V4.7.1 (2015-06)/Chapter 16.2)
Example: module altstep_bug {
type port PT message { inout charstring } with { extension "internal"}
type component CT { port PT p }
altstep as() runs on CT { var integer vl_i :=0 timer T :=1.0 var template integer t:=* [] p.receive("Hello") { setverdict(pass); } }
}
Version: 5.4.0