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
0008196Part 01: TTCN-3 Core LanguageTechnicalpublic20-01-2023 13:4226-01-2024 16:33
ReporterMatthias Simon 
Assigned ToJens Grabowski 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008196: Redefining Macros as Predefined Constants
DescriptionA problem with the current TTCN-3 specification its diversity of the language. To address this, I propose that we define macros such as _FILE__, __SCOPE__, and others, as predefined constants. This will make the language model a little smaller.
TagsNo tags attached.
Clause Reference(s)Annex D -- Preprocessing macros
Source (company - Author)Nokia - Matthias Simon
Attached Files

- Relationships

-  Notes
(0016515)
Jens Grabowski (manager)
05-09-2023 09:52

TTF discussion: Change macros to predefined constants. Preprocessing is not needed/used in the current standard.
(0016516)
Jens Grabowski (manager)
05-09-2023 09:54

TTF discussion: Description of macro in annex may disappear.
(0016536)
Jens Grabowski (manager)
07-11-2023 14:12

TTF discussion: Handling of preprocessing macros in the different tools has to be studied, i.e., tool vendors need to be asked.
(0016557)
Jens Grabowski (manager)
08-11-2023 14:06

TTF discussion: Feature is implemented differently in different tools. Resolution may introduce further ambiguities.
(0016580)
Gusztáv Adamis (developer)
10-11-2023 11:05

During the discussionswithin TTF it turned out, that the macros cannot be simply renamed to constants, because the macros shall be used before compilation and not during running time.

Ericsson would keep this definition as it is in the current version of the standard, and if during the major revision it turns out that a new term, predefined constant shall be introduced for other reasons, then a new CR shall be raised for that.

Suggest to close this CR.
(0016618)
Olivier Genoud (administrator)
26-01-2024 16:33

It is not clear to us(TF160) how e.g. __LINE__ can be a constant.

- Issue History
Date Modified Username Field Change
20-01-2023 13:42 Matthias Simon New Issue
05-09-2023 09:52 Jens Grabowski Note Added: 0016515
05-09-2023 09:54 Jens Grabowski Note Added: 0016516
05-09-2023 09:54 Jens Grabowski Assigned To => Jens Grabowski
05-09-2023 09:54 Jens Grabowski Status new => assigned
07-11-2023 14:12 Jens Grabowski Note Added: 0016536
07-11-2023 14:14 Jens Grabowski Assigned To Jens Grabowski => Matthias Simon
08-11-2023 14:06 Jens Grabowski Note Added: 0016557
08-11-2023 14:06 Jens Grabowski Assigned To Matthias Simon => Jens Grabowski
10-11-2023 11:05 Gusztáv Adamis Note Added: 0016580
26-01-2024 16:33 Olivier Genoud Note Added: 0016618


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