[Issue 7133] [tdpl] There should be no empty statement
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 25 01:03:36 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=7133
--- Comment #11 from Jakob Ovrum <jakobovrum at gmail.com> 2011-12-25 01:03:29 PST ---
(In reply to comment #10)
> In fact the oddity is that labels are considered to be statements, yet they
> don't end with a semicolon.
Block, if, while, do, for, foreach, switch, with, etc. Most types of statements
don't end with a semicolon.
Remember that the label statement is:
Identifier : NoScopeStatement
The following statement is a sub-statement of the label statement. It's not any
more inconsistent than other statements with sub-statements.
--
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