Mercurial > projects > ddmd
comparison dmd/TypeEnum.d @ 187:b0d41ff5e0df
Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
author | Abscissa |
---|---|
date | Tue, 07 Jun 2011 23:37:34 -0400 |
parents | cd48cb899aee |
children |
comparison
equal
deleted
inserted
replaced
186:1a0c1126bc46 | 187:b0d41ff5e0df |
---|---|
24 import dmd.MOD; | 24 import dmd.MOD; |
25 import dmd.Util; | 25 import dmd.Util; |
26 | 26 |
27 import dmd.backend.TYPE; | 27 import dmd.backend.TYPE; |
28 | 28 |
29 import dmd.DDMDExtensions; | |
30 | |
29 class TypeEnum : Type | 31 class TypeEnum : Type |
30 { | 32 { |
33 mixin insertMemberExtension!(typeof(this)); | |
34 | |
31 EnumDeclaration sym; | 35 EnumDeclaration sym; |
32 | 36 |
33 this(EnumDeclaration sym) | 37 this(EnumDeclaration sym) |
34 { | 38 { |
35 register(); | 39 register(); |