What    |Removed                     |Added
           Keywords|                            |patch

------- Comment #1 from  2009-04-06 14:06 -------
I can make this work by changing parse.c line 3200. It surprises me that this
is in Parser::parseStatement; but since it's in the label "Ldeclaration", I
believe it is correct. It means that code like "nothrow int x=7;" is accepted,
but that's accepted at global scope already. So I don't think there's anything
wrong with this patch.

#if DMDV2
        case TOKimmutable:
        case TOKshared:
        case TOKnothrow:   // add this line
//      case TOKtypeof:


Reply via email to