[Issue 5216] /+ parsed incorrectly in comments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 16 19:48:08 PST 2010


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #4 from bearophile_hugs at eml.cc 2010-11-16 19:46:48 PST ---
(In reply to comment #3)
> (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.

Be more gentle. The current behaviour is not obviously bad.

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