Mercurial > projects > ddmd
comparison dmd/SharedStaticDtorDeclaration.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 | eb38fdcb3e62 |
comparison
equal
deleted
inserted
replaced
186:1a0c1126bc46 | 187:b0d41ff5e0df |
---|---|
5 import dmd.Dsymbol; | 5 import dmd.Dsymbol; |
6 import dmd.OutBuffer; | 6 import dmd.OutBuffer; |
7 import dmd.HdrGenState; | 7 import dmd.HdrGenState; |
8 import dmd.FuncDeclaration; | 8 import dmd.FuncDeclaration; |
9 | 9 |
10 import dmd.DDMDExtensions; | |
11 | |
10 class SharedStaticDtorDeclaration : StaticDtorDeclaration | 12 class SharedStaticDtorDeclaration : StaticDtorDeclaration |
11 { | 13 { |
14 mixin insertMemberExtension!(typeof(this)); | |
15 | |
12 this(Loc loc, Loc endloc) | 16 this(Loc loc, Loc endloc) |
13 { | 17 { |
14 super(loc, endloc, "_sharedStaticDtor"); | 18 super(loc, endloc, "_sharedStaticDtor"); |
15 } | 19 } |
16 | 20 |