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


clugd...@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch




------- Comment #1 from clugd...@yahoo.com.au  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
#endif
//      case TOKtypeof:
        Ldeclaration:


-- 

Reply via email to