ETSI's Bug Tracker |
Anonymous | Login | Signup for local Mantis account | 30-04-2024 18:35 IST |
Main | My View | View Issues | Change Log | Roadmap | Monitor project |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
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 | ||||||||||||
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. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Clause Reference(s) | Annex D -- Preprocessing macros | ||||||||||||
Source (company - Author) | Nokia - Matthias Simon | ||||||||||||
Attached Files | |||||||||||||
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 |