www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9037] New: DDoc: Chokes on consecutive example sections:

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: monarchdodra gmail.com



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: -------
Nov 17 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9037


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid



https://github.com/D-Programming-Language/dmd/pull/1376

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 13 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9037




Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/473499c0e461ccd43baad3239db14d230a7699e0
fix Issue 9037 - DDoc: Chokes on consecutive example sections

https://github.com/D-Programming-Language/dmd/commit/cc4ae6df558914a3cc1449182ab6c363e9b134b9


Issue 9037 - DDoc: Chokes on consecutive example sections

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 14 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9037




Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d42c6baeeb55779e0cafe273cda0570ba91801b8
fix Issue 9037 - DDoc: Chokes on consecutive example sections

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 28 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9037


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
            Version|unspecified                 |D1 & D2
         Resolution|                            |FIXED


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