[Issue 4375] Require explicit braces when 'else' is ambiguous
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 7 14:29:19 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4375
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #14 from Walter Bright <bugzilla at digitalmars.com> 2010-11-07 14:28:11 PST ---
Stewart's right in that this change can be effected by changing the grammar.
You can get into all kinds of confusion by perversely indenting the source
code, this particular one isn't special and so doesn't warrant special
treatment.
What I think would be of significant value is to create a D source code
formatter that will properly indent the code based on the grammar. I'd love
such a tool, and would use it (for example) as a filter on all D source code
checkins.
--
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