Mercurial > projects > ddmd
comparison dmd/Initializer.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 |
---|---|
16 | 16 |
17 import dmd.backend.dt_t; | 17 import dmd.backend.dt_t; |
18 | 18 |
19 import dmd.TObject; | 19 import dmd.TObject; |
20 | 20 |
21 import dmd.DDMDExtensions; | |
22 | |
21 class Initializer : TObject | 23 class Initializer : TObject |
22 { | 24 { |
25 mixin insertMemberExtension!(typeof(this)); | |
26 | |
23 Loc loc; | 27 Loc loc; |
24 | 28 |
25 this(Loc loc) | 29 this(Loc loc) |
26 { | 30 { |
27 register(); | 31 register(); |