Bug 577 – statement.html - NonEmptyStatement grammar lists DebugStatement and VersionStatement, which are not defined

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2006-11-19T17:08:00Z
Last change time
2014-02-15T13:28:44Z
Keywords
spec
Assigned to
bugzilla
Creator
smjg
Blocks
511, 677

Comments

Comment #0 by smjg — 2006-11-19T17:08:47Z
NonEmptyStatement: LabeledStatement ExpressionStatement DeclarationStatement IfStatement DebugStatement VersionStatement WhileStatement DoStatement ForStatement ForeachStatement SwitchStatement CaseStatement DefaultStatement ContinueStatement BreakStatement ReturnStatement GotoStatement WithStatement SynchronizedStatement TryStatement ScopeGuardStatement ThrowStatement VolatileStatement AsmStatement PragmaStatement DebugStatement and VersionStatement do not exist. They have been replaced by ConditionalStatement, of which static if is also a variety. The grammar needs to be updated.
Comment #1 by bugzilla — 2006-12-27T01:58:58Z
Fixed DMD 0.178