Mercurial > projects > ddmd
comparison dmd/StaticDtorDeclaration.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 |
---|---|
28 import dmd.IfStatement; | 28 import dmd.IfStatement; |
29 import dmd.ReturnStatement; | 29 import dmd.ReturnStatement; |
30 import dmd.CompoundStatement; | 30 import dmd.CompoundStatement; |
31 import dmd.Module; | 31 import dmd.Module; |
32 | 32 |
33 import dmd.DDMDExtensions; | |
34 | |
33 class StaticDtorDeclaration : FuncDeclaration | 35 class StaticDtorDeclaration : FuncDeclaration |
34 { | 36 { |
37 mixin insertMemberExtension!(typeof(this)); | |
38 | |
35 VarDeclaration vgate; // 'gate' variable | 39 VarDeclaration vgate; // 'gate' variable |
36 | 40 |
37 this(Loc loc, Loc endloc, string name = "_staticDtor") | 41 this(Loc loc, Loc endloc, string name = "_staticDtor") |
38 { | 42 { |
39 register(); | 43 register(); |