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: [email protected]
          Reporter: [email protected]

/**
        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!

--

Reply via email to