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
0005263Part 01: TTCN-3 Core LanguageClarificationpublic02-07-2009 16:2607-12-2009 14:45
ReporterGyorgy Rethy 
Assigned ToIna Schieferdecker 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Versionv4.2.1 (published 2010-07)Fixed in Versionv4.2.1 (published 2010-07) 
Summary0005263: TTCN-3 macros shall not be replaced in strings and comments
DescriptionCurrently 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
TagsNo tags attached.
Clause Reference(s)Annex D, main text
Source (company - Author)L.M.Ericsson
Attached Filesdoc file icon CR5263_Macro_inside_string_comment.doc [^] (131,584 bytes) 08-07-2009 10:53
doc file icon CR5263_resolution_v2.doc [^] (131,584 bytes) 08-07-2009 14:33

- Relationships

-  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
Powered by Mantis Bugtracker