Mercurial > projects > ddmd
comparison dmd/AlignDeclaration.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 | e3afd1303184 |
children |
comparison
equal
deleted
inserted
replaced
186:1a0c1126bc46 | 187:b0d41ff5e0df |
---|---|
6 import dmd.HdrGenState; | 6 import dmd.HdrGenState; |
7 import dmd.Scope; | 7 import dmd.Scope; |
8 import dmd.Dsymbol; | 8 import dmd.Dsymbol; |
9 import dmd.Array; | 9 import dmd.Array; |
10 | 10 |
11 import dmd.DDMDExtensions; | |
12 | |
11 class AlignDeclaration : AttribDeclaration | 13 class AlignDeclaration : AttribDeclaration |
12 { | 14 { |
15 mixin insertMemberExtension!(typeof(this)); | |
16 | |
13 uint salign; | 17 uint salign; |
14 | 18 |
15 this(uint sa, Dsymbols decl) | 19 this(uint sa, Dsymbols decl) |
16 { | 20 { |
17 register(); | 21 register(); |