[Issue 9037] New: DDoc: Chokes on consecutive example sections:

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 17 01:35:37 PST 2012


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

           Summary: DDoc: Chokes on consecutive example sections:
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: monarchdodra at gmail.com


--- Comment #0 from monarchdodra at gmail.com 2012-11-17 01:35:30 PST ---
dmd -Dfdoc main.d:

=================================
/**
Example:
----
D d = d;
----
----
D d = d;
----
*/
void main()
{
}
=================================
main.d(10): Error: function D main unmatched --- in DDoc comment
=================================

Adding an empty line between the examples makes it compile:

=================================
/**
Example:
----
D d = d;
----

----
D d = d;
----
*/
void main()
{
}
=================================
Yay.
=================================

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


More information about the Digitalmars-d-bugs mailing list