http://d.puremagic.com/issues/show_bug.cgi?id=5216
Summary: /+ parsed incorrectly in comments Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: jmdavisp...@gmx.com --- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2010-11-14 04:04:26 PST --- This fails to compile void main() { /+ // /+ +/ } giving this error test.d(7): unterminated /+ +/ comment test.d(7): found 'EOF' when expecting '}' following compound statement It seems to be fine if it's not within a /+ +/ block, but once it is, the // comment is ignored, and since /+ is intended for commenting out code rather than just comments, this is not good behavior. All /+ and +/ should be ignored on lines where they are after //. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------