Thread overview
[Issue 9037] New: DDoc: Chokes on consecutive example sections:
Dec 14, 2012
Kenji Hara
Dec 28, 2012
Walter Bright
November 17, 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@puremagic.com
        ReportedBy: monarchdodra@gmail.com


--- Comment #0 from monarchdodra@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: -------
December 14, 2012
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


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-12-13 23:38:24 PST ---
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: -------
December 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9037



--- Comment #2 from github-bugzilla@puremagic.com 2012-12-14 03:35:54 PST ---
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 Merge pull request #1376 from 9rnsr/fix9037

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: -------
December 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9037



--- Comment #3 from github-bugzilla@puremagic.com 2012-12-28 11:21:33 PST ---
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: -------
December 28, 2012
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: -------