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