← Back to index
|
Original Bugzilla link
Bug 15122 – Ddoc: macros not expanded in comments in code sections
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-09-27T08:32:23Z
Last change time
2024-12-13T18:44:59Z
Keywords
ddoc
Assigned to
No Owner
Creator
Dmitry Olshansky
See also
https://issues.dlang.org/show_bug.cgi?id=15155
Moved to GitHub: dmd#19050 →
Comments
Comment #0
by dmitry.olsh — 2015-09-27T08:32:23Z
Proudly lists naked `RPAREN` macro in the docs: // Generate a uniformly-distributed real in the range [0, 100$(RPAREN) // using a specific random generator Random gen;
Comment #1
by ag0aep6g — 2015-09-27T14:49:25Z
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: -------- () ) ) () ) ) // () ) ) --------
Comment #2
by robert.schadek — 2024-12-13T18:44:59Z
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