www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7656] New: ddoc misinterprets commented parentheses in an example

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

           Summary: ddoc misinterprets commented parentheses in an example
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: schveiguy yahoo.com



08:06:20 PST ---
Consider this example:

--------
int x; // This is a comment (and here is some
int y; // more information about that comment)
--------

In the resulting html file, the second line (int y) is colored as if it were
commented out, and the output looks like this:

int x; // This is a comment (and here is some
) int y; // more information about that comment

As a workaround, you can avoid parentheses inside comments.

This likely affects D1 too, but I'm not sure.  Tested with 2.058

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




08:58:37 PST ---
https://github.com/D-Programming-Language/dmd/pull/1244

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




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

https://github.com/D-Programming-Language/dmd/commit/06c24c831020e6da8ad3cc6deaa1820538e73fb5
Fixes Issue 7656, Fixes Issue 7715. Escape special characters in ddoc
d code.

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


[ddoc] Issue 7656 and 7715 - ddoc must escape special characters

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





 https://github.com/D-Programming-Language/dmd/pull/1244
That was once merged, but was reverted so it had caused a regression: https://github.com/D-Programming-Language/dmd/pull/1244#issuecomment-11162068 New pull request: https://github.com/D-Programming-Language/dmd/pull/2287 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 01 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7656




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

https://github.com/D-Programming-Language/dmd/commit/0a1cb852ef3fd1cb1cae6143029ed1cddfcf3806
fix Issue 7656 - ddoc misinterprets commented parentheses in an example

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 07 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7656


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

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


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