ETSI's Bug Tracker - Part 01: TTCN-3 Core Language
View Issue Details

ID | Project | Category | View Status | Date Submitted | Last Update
0000418 | Part 01: TTCN-3 Core Language | New Feature | public | 24-11-2006 14:38 | 07-10-2008 05:52

Reporter | Stephan Schulz |
Assigned To | Ina Schieferdecker |
Priority | normal | Severity | feature | Reproducibility | N/A
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version | v3.1.1 (published 2005-06) |
Target Version | v3.3.2 (published 2008-04) | Fixed in Version | v4.1.1 (published 2009-06) |
Clause Reference(s) | -
Source (company - Author) | dr. György Réthy, Ericsson

Summary | 0000418: Stand-alone statement blocks

Description

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
}
}

Steps To Reproduce |
Additional Information | Proposed Solution 562. BasicStatements ::= Assignment | LogStatement | LoopConstruct | ConditionalConstruct | SelectCaseConstruct | StatementBlock
Tags | No tags attached.
Relationships |
Attached Files | 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 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
Date Modified | Username | Field | Change
24-11-2006 14:38 | Stephan Schulz | New Issue |
24-11-2006 14:38 | Stephan Schulz | Clause Reference(s) | => -
24-11-2006 14:38 | Stephan Schulz | Source (company - Author) | => dr. György Réthy, Ericsson
15-06-2007 19:15 | Stephan Schulz | Status | new => assigned
15-06-2007 19:15 | Stephan Schulz | Assigned To | => Ina Schieferdecker
13-10-2007 19:23 | Ina Schieferdecker | Assigned To | Ina Schieferdecker => Jens Grabowski
18-10-2007 14:29 | Ina Schieferdecker | Target Version | => Edition 3.3.1 (not yet published)
19-10-2007 10:02 | Ina Schieferdecker | Resolution | open => fixed
19-10-2007 10:07 | Jens Grabowski | File Added: CR-418-Core-Language-Resolution.zip |
19-10-2007 10:08 | Jens Grabowski | File Added: CR-388-418-Operational-Semantics-Resolution.zip |
19-10-2007 10:09 | Jens Grabowski | Note Added: 0003699 |
19-11-2007 16:40 | Jens Grabowski | Assigned To | Jens Grabowski => Gyorgy Rethy
05-12-2007 17:22 | Gyorgy Rethy | Note Added: 0004349 |
05-12-2007 17:22 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Jens Grabowski
05-12-2007 17:22 | Gyorgy Rethy | Status | assigned => resolved
05-12-2007 18:05 | Jens Grabowski | Status | resolved => feedback
05-12-2007 18:05 | Jens Grabowski | Resolution | fixed => reopened
05-12-2007 18:05 | Jens Grabowski | Note Added: 0004352 |
05-12-2007 18:06 | Jens Grabowski | Assigned To | Jens Grabowski => Ina Schieferdecker
05-12-2007 18:06 | Jens Grabowski | Status | feedback => resolved
05-12-2007 18:06 | Jens Grabowski | Resolution | reopened => fixed
06-12-2007 09:07 | Ina Schieferdecker | Status | resolved => closed
06-12-2007 09:07 | Ina Schieferdecker | Fixed in Version | => Edition 3.3.1 (not yet published)
12-03-2008 10:22 | user10 | Fixed in Version | Edition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published)
12-03-2008 10:24 | user10 | Target Version | Edition 3.3.1 --will not be published, see 3.3.2 => Edition 3.3.2 (not yet published)
01-09-2008 10:10 | Ina Schieferdecker | Status | closed => feedback
01-09-2008 10:10 | Ina Schieferdecker | Resolution | fixed => reopened
01-09-2008 10:10 | Ina Schieferdecker | Note Added: 0006672 |
07-10-2008 05:51 | Ina Schieferdecker | Note Added: 0007004 |
07-10-2008 05:52 | Ina Schieferdecker | Status | feedback => closed
07-10-2008 05:52 | Ina Schieferdecker | Resolution | reopened => fixed
07-10-2008 05:52 | Ina Schieferdecker | Fixed in Version | Edition 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