www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10363] New: DDOC macro argument with the same name as the function doesn't work

http://d.puremagic.com/issues/show_bug.cgi?id=10363

           Summary: DDOC macro argument with the same name as the function
                    doesn't work
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: doob me.com


--- Comment #0 from Jacob Carlborg <doob me.com> 2013-06-15 12:10:04 PDT ---
/// Macro:
/// XREF4 = <a href="std_$1_$2_$3.html#$4">$(D std.$1.$2.$3.$4)</a>
module foo;

/// See_Also: $(XREF4 serialization, archives, archive, Archive)
void archive () { }

The above generates the following documentation:

archive.html#Archive">std.serialization.archives.archive.Archive

The problem is that "archive" is the name of the function and it's also present
as an argument to the XREF4 macro.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 15 2013