http://d.puremagic.com/issues/show_bug.cgi?id=3584

           Summary: DeclDef rule is missing entries
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nob...@puremagic.com
        ReportedBy: jlqu...@optonline.net


--- Comment #0 from Jerry Quinn <jlqu...@optonline.net> 2009-12-07 07:07:54 PST 
---
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
    ;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to