ETSI's Bug Tracker |
Anonymous | Login | Signup for local Mantis account | 03-05-2024 01:03 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 | ||||
0005263 | Part 01: TTCN-3 Core Language | Clarification | public | 02-07-2009 16:26 | 07-12-2009 14:45 | ||||
Reporter | Gyorgy Rethy | ||||||||
Assigned To | Ina Schieferdecker | ||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||
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) | ||||||
Summary | 0005263: TTCN-3 macros shall not be replaced in strings and comments | ||||||||
Description | Currently it is not specifies what "replaced by a ... before compilation" means. Are macros replaced within character string values and/or comments? - as macros (except __LINE__) are replaced by a charstring value, replacing them inside character strings would lead to non-eliminable syntactical errors (or at least unwanted quotation marks in the string). E.g. the raw TTCN-3 code: var charstring vchar := "My __MODULE__ is:";// raw TCN-3 code would become after preprocessing: var charstring vchar := "My "MyModule" is:";//invalid TTCN-3 code - comments are normally raw text that is skipped during all pre(processing) of the code (except when processed specifically for documentation purposes); hence macros shall not be replaced in comments either | ||||||||
Tags | No tags attached. | ||||||||
Clause Reference(s) | Annex D, main text | ||||||||
Source (company - Author) | L.M.Ericsson | ||||||||
Attached Files | CR5263_Macro_inside_string_comment.doc [^] (131,584 bytes) 08-07-2009 10:53 CR5263_resolution_v2.doc [^] (131,584 bytes) 08-07-2009 14:33 | ||||||||
Notes | |
(0008864) Tibor Csöndes (reporter) 08-07-2009 10:54 |
Suggestion uploaded. |
(0008870) Gyorgy Rethy (reporter) 08-07-2009 14:33 |
CR5263_resolution_v2.doc: editorials only, otherwise solution is OK with me. |
(0008893) Ina Schieferdecker (reporter) 13-07-2009 07:18 |
Implemented as "Preprocessing macros shall not be replaced inside literal charstring values and templates and not in TTCN-3 comments." |
Issue History | |||
Date Modified | Username | Field | Change |
02-07-2009 16:26 | Gyorgy Rethy | New Issue | |
02-07-2009 16:26 | Gyorgy Rethy | Status | new => assigned |
02-07-2009 16:26 | Gyorgy Rethy | Assigned To | => Tibor Csöndes |
02-07-2009 16:26 | Gyorgy Rethy | Clause Reference(s) | => Annex D, main text |
02-07-2009 16:26 | Gyorgy Rethy | Source (company - Author) | => L.M.Ericsson |
08-07-2009 10:53 | Tibor Csöndes | File Added: CR5263_Macro_inside_string_comment.doc | |
08-07-2009 10:54 | Tibor Csöndes | Note Added: 0008864 | |
08-07-2009 10:56 | Tibor Csöndes | Assigned To | Tibor Csöndes => Gyorgy Rethy |
08-07-2009 14:33 | Gyorgy Rethy | Note Added: 0008870 | |
08-07-2009 14:33 | Gyorgy Rethy | File Added: CR5263_resolution_v2.doc | |
08-07-2009 14:33 | Gyorgy Rethy | Assigned To | Gyorgy Rethy => Tibor Csöndes |
08-07-2009 14:35 | Gyorgy Rethy | Resolution | open => fixed |
08-07-2009 14:35 | Gyorgy Rethy | Fixed in Version | => Edition 4.2.1 (not yet published) |
08-07-2009 15:35 | Tibor Csöndes | Assigned To | Tibor Csöndes => Ina Schieferdecker |
13-07-2009 07:18 | Ina Schieferdecker | Note Added: 0008893 | |
13-07-2009 07:19 | Ina Schieferdecker | Status | assigned => resolved |
13-07-2009 07:19 | Ina Schieferdecker | Status | resolved => closed |
07-12-2009 14:45 | Ina Schieferdecker | Target Version | => Edition 4.2.1 (not yet published) |
MantisBT 1.2.14 [^] Copyright © 2000 - 2024 MantisBT Team |