digitalmars.D.bugs - [Issue 2653] New: ConditionalStatement not referenced in rest of grammar
- d-bugmail puremagic.com Feb 09 2009
- d-bugmail puremagic.com Feb 09 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2653 Summary: ConditionalStatement not referenced in rest of grammar Product: D Version: 2.023 Platform: PC URL: http://www.digitalmars.com/d/2.0/version.html OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: bugzilla digitalmars.com ReportedBy: jlquinn optonline.net Reading the text, I think the intent was to have the following ConditionalDeclaration: Condition CCDeclarationBlock Condition CCDeclarationBlock else CCDeclarationBlock Condition : Declarations ConditionalStatement --
Feb 09 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2653 ------- Comment #1 from jlquinn 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 --
Feb 09 2009








d-bugmail puremagic.com