[Issue 19368] New: NoScopeStatement is the same as Statement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 6 11:30:02 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19368

          Issue ID: 19368
           Summary: NoScopeStatement is the same as Statement
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: peter.alexander.au at gmail.com

Statement:
    ;
    NonEmptyStatement
    ScopeBlockStatement

NoScopeStatement:
    ;
    NonEmptyStatement
    BlockStatement

ScopeBlockStatement:
    BlockStatement

---

>From these production rules, NoScopeStatement and Statement are identical, so
NoScopeStatement could be removed to simplify the grammar.

--


More information about the Digitalmars-d-bugs mailing list