ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details
0000418Part 01: TTCN-3 Core LanguageNew Featurepublic24-11-2006 14:3807-10-2008 05:52
Stephan Schulz 
Ina Schieferdecker 
normalfeatureN/A
closedfixed 
v3.1.1 (published 2005-06) 
v3.3.2 (published 2008-04)v4.1.1 (published 2009-06) 
-
dr. György Réthy, Ericsson
0000418: Stand-alone statement blocks
Statement block is a scope unit that allows to declare local constants, templates, variables and timers. However statement blocks can be used as part of other statements only but not in a stand-alone way. This forces users to use a dummy if (true) {<statements >} or do {<statements >} while (false) workaround when they want to use temporary declarations. It is suggested to allow stand-alone statement blocks as well to avoid pointless workarounds.
Example:
function Myfunc () runs on MyCompType {
  var integer vl_int;
...
  {
    var integer vl_int2 := 5;
    vl_int := vl_int2 + 3
  }
}
Proposed Solution

562. BasicStatements ::= Assignment | LogStatement | LoopConstruct | ConditionalConstruct | SelectCaseConstruct | StatementBlock

No tags attached.
zip CR-418-Core-Language-Resolution.zip (864,866) 19-10-2007 10:07
http://oldforge.etsi.org/mantis/file_download.php?file_id=1055&type=bug
zip CR-388-418-Operational-Semantics-Resolution.zip (1,298,804) 19-10-2007 10:08
http://oldforge.etsi.org/mantis/file_download.php?file_id=1056&type=bug
Issue History
24-11-2006 14:38Stephan SchulzNew Issue
24-11-2006 14:38Stephan SchulzClause Reference(s) => -
24-11-2006 14:38Stephan SchulzSource (company - Author) => dr. György Réthy, Ericsson
15-06-2007 19:15Stephan SchulzStatusnew => assigned
15-06-2007 19:15Stephan SchulzAssigned To => Ina Schieferdecker
13-10-2007 19:23Ina SchieferdeckerAssigned ToIna Schieferdecker => Jens Grabowski
18-10-2007 14:29Ina SchieferdeckerTarget Version => Edition 3.3.1 (not yet published)
19-10-2007 10:02Ina SchieferdeckerResolutionopen => fixed
19-10-2007 10:07Jens GrabowskiFile Added: CR-418-Core-Language-Resolution.zip
19-10-2007 10:08Jens GrabowskiFile Added: CR-388-418-Operational-Semantics-Resolution.zip
19-10-2007 10:09Jens GrabowskiNote Added: 0003699
19-11-2007 16:40Jens GrabowskiAssigned ToJens Grabowski => Gyorgy Rethy
05-12-2007 17:22Gyorgy RethyNote Added: 0004349
05-12-2007 17:22Gyorgy RethyAssigned ToGyorgy Rethy => Jens Grabowski
05-12-2007 17:22Gyorgy RethyStatusassigned => resolved
05-12-2007 18:05Jens GrabowskiStatusresolved => feedback
05-12-2007 18:05Jens GrabowskiResolutionfixed => reopened
05-12-2007 18:05Jens GrabowskiNote Added: 0004352
05-12-2007 18:06Jens GrabowskiAssigned ToJens Grabowski => Ina Schieferdecker
05-12-2007 18:06Jens GrabowskiStatusfeedback => resolved
05-12-2007 18:06Jens GrabowskiResolutionreopened => fixed
06-12-2007 09:07Ina SchieferdeckerStatusresolved => closed
06-12-2007 09:07Ina SchieferdeckerFixed in Version => Edition 3.3.1 (not yet published)
12-03-2008 10:22user10Fixed in VersionEdition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published)
12-03-2008 10:24user10Target VersionEdition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published)
01-09-2008 10:10Ina SchieferdeckerStatusclosed => feedback
01-09-2008 10:10Ina SchieferdeckerResolutionfixed => reopened
01-09-2008 10:10Ina SchieferdeckerNote Added: 0006672
07-10-2008 05:51Ina SchieferdeckerNote Added: 0007004
07-10-2008 05:52Ina SchieferdeckerStatusfeedback => closed
07-10-2008 05:52Ina SchieferdeckerResolutionreopened => fixed
07-10-2008 05:52Ina SchieferdeckerFixed in VersionEdition 3.3.2 => Edition 4.1.1 (not yet published)

Notes
(0003699)
Jens Grabowski   
19-10-2007 10:09   
Please note: CR-388-418-Operational-Semantics-Resolution.zip also includes the resolution to CR 388. The same file will be uploaded for the resolution of CR 388.
(0004349)
Gyorgy Rethy   
05-12-2007 17:22   
Jens: pls. add OS changes in Part-4 and assign the CR to Ina afterwards.
(0004352)
Jens Grabowski   
05-12-2007 18:05   
Operational semantics fixed.
(0006672)
Ina Schieferdecker   
01-09-2008 10:10   
The grammar rule for BasicStatements has not been changed as pointed out by Pavel Yakovenko, ISPRAS - this has still to be done.
(0007004)
Ina Schieferdecker   
07-10-2008 05:51   
This CR was only partially implemented in v3.4.1 - it has now being completed in v4.1.1