ETSI's Bug Tracker - Part 04: TTCN-3 Operational Semantics
View Issue Details
0002578Part 04: TTCN-3 Operational SemanticsNew Featurepublic06-12-2007 11:1720-04-2009 11:43
Jens Grabowski 
Gyorgy Rethy 
normalmajorhave not tried
closedfixed 
 
v4.1.1 (published 2009-06)v4.1.1 (published 2009-06) 
New Section on Break and Continue
 University of Göttingen, Jens Grabowski
0002578: Break-like construct for altsteps
An altstep is evaluated within an alt-statement. Currently it is not possible to leave the alt-statement from within the altstep. A construct which will allow this is more than a break-statement, because a break is an unconditional jump to a known place (i.e., a goto-label-construct).

The technical study of a break-like construct for altsteps should consider that altsteps
- are introduced/used as functions and not as macros,
- have scope,
- may have in, inout and out parameters,
- can activated as defaults.

This CR was originally part of CR 414.
No tags attached.
doc CR-2578-Break-for-altsteps-Resolution-V1.doc (384,000) 16-12-2008 16:50
http://oldforge.etsi.org/mantis/file_download.php?file_id=1904&type=bug
doc CR-2578-Break-for-altsteps-Resolution-V2.doc (386,560) 16-12-2008 20:23
http://oldforge.etsi.org/mantis/file_download.php?file_id=1905&type=bug
doc CR2578-Part-4-Break-like-construct-for-altsteps-Resolution-JG-V1.doc (448,000) 02-01-2009 15:09
http://oldforge.etsi.org/mantis/file_download.php?file_id=1933&type=bug
Issue History
06-12-2007 11:17Jens GrabowskiNew Issue
06-12-2007 11:17Jens GrabowskiStatusnew => assigned
06-12-2007 11:17Jens GrabowskiAssigned To => Jens Grabowski
06-12-2007 11:17Jens GrabowskiClause Reference(s) => New Section on Break and Continue
06-12-2007 11:17Jens GrabowskiSource (company - Author) => University of Göttingen, Jens Grabowski
06-12-2007 11:35Jens GrabowskiProjectTTCN-3 Change Requests => Part 01: TTCN-3 Core Language
13-03-2008 18:13Thomas DeißNote Added: 0005227
21-04-2008 08:59Ina SchieferdeckerTarget Version => Edition 4.1.1 (not yet published)
16-12-2008 16:50Jens GrabowskiFile Added: CR-2578-Break-for-altsteps-Resolution-V1.doc
16-12-2008 16:51Jens GrabowskiNote Added: 0007720
16-12-2008 16:52Jens GrabowskiAssigned ToJens Grabowski => Thomas Deiß
16-12-2008 16:52Jens GrabowskiStatusassigned => resolved
16-12-2008 20:22Thomas DeißNote Added: 0007721
16-12-2008 20:22Thomas DeißAssigned ToThomas Deiß => Jens Grabowski
16-12-2008 20:22Thomas DeißStatusresolved => assigned
16-12-2008 20:23Thomas DeißFile Added: CR-2578-Break-for-altsteps-Resolution-V2.doc
17-12-2008 07:39Ina SchieferdeckerAssigned ToJens Grabowski => Ina Schieferdecker
17-12-2008 07:39Ina SchieferdeckerResolutionopen => fixed
17-12-2008 09:31Ina SchieferdeckerNote Added: 0007726
17-12-2008 09:32Ina SchieferdeckerNote Added: 0007727
17-12-2008 09:32Ina SchieferdeckerProjectPart 01: TTCN-3 Core Language => Part 04: TTCN-3 Operational Semantics
17-12-2008 09:32Ina SchieferdeckerAssigned ToIna Schieferdecker => Jens Grabowski
17-12-2008 09:32Ina SchieferdeckerFixed in Version => Edition 4.1.1 (not yet published)
02-01-2009 15:04Jens GrabowskiFile Added: 2578-Part-4-Break-like-construct-for-altsteps-Resolution-JG-V1.doc
02-01-2009 15:05Jens GrabowskiFile Deleted: 2578-Part-4-Break-like-construct-for-altsteps-Resolution-JG-V1.doc
02-01-2009 15:09Jens GrabowskiFile Added: CR2578-Part-4-Break-like-construct-for-altsteps-Resolution-JG-V1.doc
02-01-2009 15:09Jens GrabowskiAssigned ToJens Grabowski => Gyorgy Rethy
10-03-2009 10:50Ina SchieferdeckerStatusassigned => resolved
20-04-2009 11:43Ina SchieferdeckerStatusresolved => closed

Notes
(0005227)
Thomas Deiß   
13-03-2008 18:13   
check note in 19.10, about return statement in an altstep. A statement block after an altstep would still be executed. Check also part4 on the return statement.

Thomas to produce some clarifying examples.
(0007720)
Jens Grabowski   
16-12-2008 16:51   
The attached file includes the changes required in part 1 for resolving this issue. I do find places in the BNF that need to be changed. This has to be cross-checked by someone else.
(0007721)
Thomas Deiß   
16-12-2008 20:22   
No change to BNF needed.

Two issues for clarification found. Comments and proposals are in uploaded version V2.
(0007726)
Ina Schieferdecker   
17-12-2008 09:31   
Changes in part 1 done - as Jens proposes despite the comment by Thomas on altsteps as altsteps within loops should behave as alts within loops.
(0007727)
Ina Schieferdecker   
17-12-2008 09:32   
Changes in part 4 needed - hence moved there.