Thread overview
[Issue 15122] Ddoc: macros not expanded in comments in code sections
Sep 27, 2015
ag0aep6g@gmail.com
Oct 15, 2015
Vladimir Panteleev
September 27, 2015
https://issues.dlang.org/show_bug.cgi?id=15122

ag0aep6g@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ddoc
                 CC|                            |ag0aep6g@gmail.com
          Component|phobos                      |dmd
            Summary|[std.random] DDoc page      |Ddoc: macros not expanded
                   |                            |in comments in code
                   |                            |sections
           Severity|enhancement                 |normal

--- Comment #1 from ag0aep6g@gmail.com ---
Looks like a dmd issue.

test.d:
--------
/**
() ) $(RPAREN)
---
() ) $(RPAREN)
// () ) $(RPAREN)
---
*/
void main() {}
--------

`dmd -o- -Dftest.html test.d` produces (excerpt without HTML):
--------
() ) )
() ) )
// () $(RPAREN) $(RPAREN)
--------

Expected:
--------
() ) )
() ) )
// () ) )
--------

--
October 15, 2015
https://issues.dlang.org/show_bug.cgi?id=15122

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=15155

--
December 13
https://issues.dlang.org/show_bug.cgi?id=15122

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19050

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--