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

ID | Project | Category | View Status | Date Submitted | Last Update
0005346 | Part 01: TTCN-3 Core Language | Clarification | public | 13-09-2009 13:25 | 04-01-2010 13:11

Reporter | Ina Schieferdecker |
Assigned To | Ina Schieferdecker |
Priority | low | Severity | minor | Reproducibility | have not tried
Status | closed | Resolution | fixed |
Platform |  | OS |  | OS Version |
Product Version |  |
Target Version | v4.2.1 (published 2010-07) | Fixed in Version | v4.2.1 (published 2010-07) |
Clause Reference(s) | Annex A
Source (company - Author) |

Summary | 0005346: Some more small BNF issues

Description

1. ValueSpec ::= ValueKeyword ( VariableRef |
"(" { [ VariableRef [ AssignmentChar
(FieldReference | TypeDefIdentifier) ExtendedFieldReference ]
] [","] }
")" )
TO
ValueSpec ::= ValueKeyword ( VariableRef |
( "(" { VariableRef [ AssignmentChar
(FieldReference | TypeDefIdentifier) ExtendedFieldReference ]
[","] }
")" ) )
// parentheses missin
2. OpCall ::= ConfigurationOps |
VerdictOps |
TimerOps |
TestcaseInstance |
FunctionInstance [ ExtendedFieldReference ] |
TemplateOps [ ExtendedFieldReference ] |
ActivateOp
TO
OpCall ::= ConfigurationOps |
VerdictOps |
TimerOps |
TestcaseInstance |
( FunctionInstance [ ExtendedFieldReference ] ) |
( TemplateOps [ ExtendedFieldReference ] ) |
ActivateOp
// parentheses missin
3. FriendModuleDef ::= "friend" "module" ModuleIdentifier {"," ModuleIdentifier } [SemiColon]
TO
FriendModuleDef ::= "module" ModuleIdentifier {"," ModuleIdentifier } [SemiColon]
// FriendKeyword - part of the optional visibility of a module definition

Steps To Reproduce |
Additional Information |
Tags | No tags attached.

Relationships

related to | 0005343 | closed | Ina Schieferdecker | small BNF issues

Attached Files |

Issue History
Date Modified | Username | Field | Change
13-09-2009 13:25 | Ina Schieferdecker | New Issue |
13-09-2009 13:25 | Ina Schieferdecker | Status | new => assigned
13-09-2009 13:25 | Ina Schieferdecker | Assigned To | => Gyorgy Rethy
13-09-2009 13:25 | Ina Schieferdecker | Clause Reference(s) | => Annex A
13-09-2009 13:25 | Ina Schieferdecker | Source (company - Author) | =>
13-09-2009 13:26 | Ina Schieferdecker | Project | TTCN-3 Change Requests => Part 01: TTCN-3 Core Language
13-09-2009 13:27 | Ina Schieferdecker | Category | TTCN-3 Core Language => Clarification
13-09-2009 13:27 | Ina Schieferdecker | Target Version | => Edition 4.2.1 (not yet published)
10-12-2009 11:36 | Gyorgy Rethy | Note Added: 0009143 |
10-12-2009 12:44 | Gyorgy Rethy | Note Edited: 0009143 |
10-12-2009 12:44 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Ina Schieferdecker
04-01-2010 13:06 | Ina Schieferdecker | Relationship added | related to 0005343
04-01-2010 13:08 | Ina Schieferdecker | Note Added: 0009154 |
04-01-2010 13:11 | Ina Schieferdecker | Resolution | open => fixed
04-01-2010 13:11 | Ina Schieferdecker | Status | assigned => resolved
04-01-2010 13:11 | Ina Schieferdecker | Fixed in Version | => Edition 4.2.1 (not yet published)
04-01-2010 13:11 | Ina Schieferdecker | Status | resolved => closed

Notes

(0009143)
Gyorgy Rethy
10-12-2009 11:36 (edited on: 10-12-2009 12:44)

1. ValueSpec: I think no more bracket is needed, see CR5343.
2. OpCall: I don't think that brackets are needed, normally "|" is also functioning as an implicit bracket (but it would be just superflouos but not disturbing in this case)
3. FriendModuleDef: but "friend" is part of the definition here. Also friend modules can have "visibility instruction":
private friend module ...
that looks uggly, but allowed...

(0009154)
Ina Schieferdecker
04-01-2010 13:08

I rather say that grouping improves readability. As for the 3rd issue, you are right.