[Issue 15472] New: Ddoc macro on function with same name breaks
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Dec 23 13:50:07 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15472
Issue ID: 15472
Summary: Ddoc macro on function with same name breaks
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: destructionator at gmail.com
/**
test $(test test)
Macros:
test=bug
*/
void test() {}
dmd -D generates:
<u>test</u> $(<u>test</u> <u>test</u>)
The test in the macro name gets highlighted too by DDOC_PSYMBOL, breaking the
intended macro expansion!
--
More information about the Digitalmars-d-bugs
mailing list