Bug 8272 – [Ddoc] Recursive macro expansion is failed.

Status
RESOLVED
Resolution
WONTFIX
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-20T07:15:00Z
Last change time
2015-06-09T05:11:51Z
Assigned to
nobody
Creator
zan77137

Comments

Comment #0 by zan77137 — 2012-06-20T07:15:01Z
This documentation comment doesn't work well: ------------------------------------ /** * $(MACRO_A MACRO_B) * * Macros: * MACRO_A = $($1) * MACRO_B = Macro C */ void main(){} ------------------------------------ $(MACRO_A MACRO_B) should be replaced to "Macro C". But now, this is replaced to "$(MACRO_B)".
Comment #1 by bugzilla — 2012-11-07T19:39:00Z
Recursive macro expansion isn't supposed to happen. I believe this is not a bug, and fixing this is a mistake.
Comment #2 by bugzilla — 2012-11-07T19:39:27Z