Mercurial > projects > ddmd
diff dmd/STC.d @ 137:09c858522d55
merge
author | Trass3r |
---|---|
date | Mon, 13 Sep 2010 23:29:00 +0200 |
parents | af1bebfd96a4 |
children | bc45b1c53019 |
line wrap: on
line diff
--- a/dmd/STC.d Mon Sep 13 23:27:38 2010 +0200 +++ b/dmd/STC.d Mon Sep 13 23:29:00 2010 +0200 @@ -23,7 +23,6 @@ STCctorinit = 0x20000, // can only be set inside constructor STCtemplateparameter = 0x40000, // template parameter STCscope = 0x80000, // template parameter - STCinvariant = 0x100000, STCimmutable = 0x100000, STCref = 0x200000, STCinit = 0x400000, // has explicit initializer @@ -36,7 +35,8 @@ STCshared = 0x20000000, // accessible from multiple threads STCgshared = 0x40000000, // accessible from multiple threads // but not typed as "shared" - STC_TYPECTOR = (STCconst | STCimmutable | STCshared), + STCwild = 0x80000000, // for "wild" type constructor + STC_TYPECTOR = (STCconst | STCimmutable | STCshared | STCwild), } import dmd.EnumUtils; @@ -46,5 +46,6 @@ enum STCsafe = 0x200000000; enum STCtrusted = 0x400000000; enum STCsystem = 0x800000000; +enum STCctfe = 0x1000000000; // can be used in CTFE, even if it is static alias ulong StorageClass; \ No newline at end of file