[Issue 3584] New: DeclDef rule is missing entries

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 7 07:07:55 PST 2009


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: nobody at puremagic.com
        ReportedBy: jlquinn at optonline.net


--- Comment #0 from Jerry Quinn <jlquinn at 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: -------


More information about the Digitalmars-d-bugs mailing list