digitalmars.D.bugs - [Issue 15472] New: Ddoc macro on function with same name breaks
- via Digitalmars-d-bugs (24/24) Dec 23 2015 https://issues.dlang.org/show_bug.cgi?id=15472
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 puremagic.com Reporter: destructionator 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! --
Dec 23 2015