www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1628] New: Ddoc produces invalid documentation for --- blocks

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1628

           Summary: Ddoc produces invalid documentation for --- blocks
           Product: D
           Version: 1.022
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: onlystupidspamhere yahoo.se


Adding newlines between ---s produce odd output. Here's a minimal example:

<code>
/**----

----*/class C{}
</code>

produces

<output>
mymodule


 $(DDOC_MODULE_MEMBERS 
class F; 
 $(DDOC_DECL_DD
</output>

Removing the line feeds between ---'s or filling the empty line with content
hides the errors.


-- 
Oct 30 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1628




Created an attachment (id=589)
Patch against DMD2.042 svn 416

Also fixes bug 122.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 15 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1628




This is pretty simple, we just need to cope with the case where the code
section is empty. 
I also generate an error for cases like:
/**
 this code doesn't have a proper ending
---
  int x;
*/

which I think is better than generating an invalid html file.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 15 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1628


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com



12:31:50 PDT ---
changeset 431

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 04 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1628


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



Fixed DMD1.058 and DMD2.043.

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