[Issue 5216] /+ parsed incorrectly in comments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 16 19:09:33 PST 2010


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


nfxjfg at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |nfxjfg at gmail.com
         Resolution|INVALID                     |
           Severity|normal                      |enhancement


--- Comment #3 from nfxjfg at gmail.com 2010-11-16 19:08:20 PST ---
(In reply to comment #1)
> Commenting out code should properly be done using:
> 
>    version (none)
>    {
>    }
> 
> The only thing the /+ comments recognize are +/ and /+. They are working as
> designed. They are not intended to recognize tokens or other comments.

That's unintuitive and error prone. Also you can't stick version anywhere.
Obviously the design should be fixed.

Reopening as enhancement request.

-- 
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