Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008193Part 01: TTCN-3 Core LanguageTechnicalpublic19-01-2023 10:1505-09-2023 10:24
ReporterMatthias Simon 
Assigned ToJens Grabowski 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008193: Redefine keywords and reserved words
DescriptionAn explicit distinction between keywords and reserved words is a prerequisite for moving language parts, such as predefined functions, matching-mechanism or timers to some kind of predefined standard library. It would also simplify BNF rules.

Where's the difference?

A _reserved word_ is an identifier which cannot be used as a name for user-defined variables, functions, parameters, etc. For example the identifiers "int2str", "integer", "this" or "object" are reserved words and have not special syntactic meaning except for being predefined or reserved. In some scopes reserved words are allowed to be used by the user (for example as name in field-definitions).

A _keyword_ is a word with special meaning in a particular context. Keywords should not be used as identifiers (for example "for", "while", ...). There are some few exceptions however ("testcase", "class", "all", "any", ...):

    testcase.stop; // "testcase" is used as identifier referencing the current testcase
    testcase TC1() {} // "testcase" is a keyword introducing a testcase definition
TagsNo tags attached.
Clause Reference(s)n/a
Source (company - Author)Nokia - Matthias Simon
Attached Files

- Relationships

-  Notes
(0016519)
Jens Grabowski (manager)
05-09-2023 10:22

TTF discussion: To be discussed in the context of the next major release.

- Issue History
Date Modified Username Field Change
19-01-2023 10:15 Matthias Simon New Issue
05-09-2023 10:22 Jens Grabowski Note Added: 0016519
05-09-2023 10:24 Jens Grabowski Assigned To => Jens Grabowski
05-09-2023 10:24 Jens Grabowski Status new => assigned


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker