Mercurial > projects > ddmd
comparison dmd/AnonDeclaration.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 |
---|---|
13 import dmd.STC; | 13 import dmd.STC; |
14 import dmd.Module; | 14 import dmd.Module; |
15 import dmd.VarDeclaration; | 15 import dmd.VarDeclaration; |
16 import dmd.Global; | 16 import dmd.Global; |
17 | 17 |
18 import dmd.DDMDExtensions; | |
19 | |
18 class AnonDeclaration : AttribDeclaration | 20 class AnonDeclaration : AttribDeclaration |
19 { | 21 { |
22 mixin insertMemberExtension!(typeof(this)); | |
23 | |
20 int isunion; | 24 int isunion; |
21 int sem = 0; // 1 if successful semantic() | 25 int sem = 0; // 1 if successful semantic() |
22 | 26 |
23 this(Loc loc, int isunion, Dsymbols decl) | 27 this(Loc loc, int isunion, Dsymbols decl) |
24 { | 28 { |