www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 577] New: statement.html - NonEmptyStatement grammar lists DebugStatement and VersionStatement, which are not defined

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=577

           Summary: statement.html - NonEmptyStatement grammar lists
                    DebugStatement and VersionStatement, which are not
                    defined
           Product: D
           Version: 0.174
          Platform: All
               URL: http://www.digitalmars.com/d/statement.html
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: smjg iname.com
OtherBugsDependingO 511
             nThis:


NonEmptyStatement:
    LabeledStatement
    ExpressionStatement
    DeclarationStatement
    IfStatement
    DebugStatement
    VersionStatement
    WhileStatement
    DoStatement
    ForStatement
    ForeachStatement
    SwitchStatement
    CaseStatement
    DefaultStatement
    ContinueStatement
    BreakStatement
    ReturnStatement
    GotoStatement
    WithStatement
    SynchronizedStatement
    TryStatement
    ScopeGuardStatement
    ThrowStatement
    VolatileStatement
    AsmStatement
    PragmaStatement

DebugStatement and VersionStatement do not exist.  They have been replaced by
ConditionalStatement, of which static if is also a variety.

The grammar needs to be updated.


-- 
Nov 19 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=577


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 0.178


-- 
Dec 26 2006