Bug 3584 – DeclDef rule is missing entries

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2009-12-07T07:07:00Z
Last change time
2015-06-09T01:27:04Z
Keywords
spec
Assigned to
nobody
Creator
jlquinn

Comments

Comment #0 by jlquinn — 2009-12-07T07:07:54Z
There are several unreferenced rules in the grammar: StaticAssert ConditionalDeclaration TemplateDeclaration TemplateMixin Based on other documentation and testing the compiler, I think the fix is to add them to the DeclDef rule, which would become: DeclDef: AttributeSpecifier ImportDeclaration EnumDeclaration ClassDeclaration InterfaceDeclaration AggregateDeclaration Declaration Constructor Destructor Invariant UnitTest StaticConstructor StaticDestructor StaticAssert ConditionalDeclaration DebugSpecification VersionSpecification MixinDeclaration TemplateDeclaration TemplateMixin ;
Comment #1 by leandro.lucarella — 2009-12-14T06:28:53Z
Comment #2 by bugzilla — 2009-12-31T11:12:45Z
Fixed dmd 1.054 and 2.038