ETSI's Bug Tracker - Part 01: TTCN-3 Core Language |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0008196 | Part 01: TTCN-3 Core Language | Technical | public | 20-01-2023 13:42 | 26-01-2024 16:33 |
|
Reporter | Matthias Simon | |
Assigned To | Jens Grabowski | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Clause Reference(s) | Annex D -- Preprocessing macros |
Source (company - Author) | Nokia - Matthias Simon |
|
Summary | 0008196: Redefining Macros as Predefined Constants |
Description | A 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. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
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 | |
Notes |
|
|
TTF discussion: Change macros to predefined constants. Preprocessing is not needed/used in the current standard. |
|
|
|
TTF discussion: Description of macro in annex may disappear. |
|
|
|
TTF discussion: Handling of preprocessing macros in the different tools has to be studied, i.e., tool vendors need to be asked. |
|
|
|
TTF discussion: Feature is implemented differently in different tools. Resolution may introduce further ambiguities. |
|
|
|
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. |
|
|
|
It is not clear to us(TF160) how e.g. __LINE__ can be a constant. |
|