diff dmd/STC.d @ 135:af1bebfd96a4 dmd2037

dmd 2.038
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Mon, 13 Sep 2010 22:19:42 +0100
parents 206db751bd4c
children bc45b1c53019
line wrap: on
line diff
--- a/dmd/STC.d	Sat Sep 11 13:03:39 2010 +0100
+++ b/dmd/STC.d	Mon Sep 13 22:19:42 2010 +0100
@@ -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