[Issue 2653] ConditionalStatement not referenced in rest of grammar

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 9 06:48:29 PST 2009


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





------- Comment #1 from jlquinn at optonline.net  2009-02-09 08:48 -------
Looking into this further, dmd doesn't seem to distinguish between using
CCDeclarationBlock or NoScopeNonEmptyStatement.  The compiler's approach seems
reasonable to me. In that case, the grammar here should just be:

ConditionalDeclaration:
    Condition NoScopeNonEmptyStatement
    Condition NoScopeNonEmptyStatement else NoScopeNonEmptyStatement
    Condition : Declarations


-- 



More information about the Digitalmars-d-bugs mailing list