Mercurial > projects > ddmd
comparison dmd/DeclarationExp.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 |
---|---|
24 import dmd.VoidInitializer; | 24 import dmd.VoidInitializer; |
25 import dmd.GlobalExpressions; | 25 import dmd.GlobalExpressions; |
26 import dmd.Type; | 26 import dmd.Type; |
27 import dmd.codegen.Util; | 27 import dmd.codegen.Util; |
28 | 28 |
29 import dmd.DDMDExtensions; | |
30 | |
29 // Declaration of a symbol | 31 // Declaration of a symbol |
30 | 32 |
31 class DeclarationExp : Expression | 33 class DeclarationExp : Expression |
32 { | 34 { |
35 mixin insertMemberExtension!(typeof(this)); | |
36 | |
33 Dsymbol declaration; | 37 Dsymbol declaration; |
34 | 38 |
35 this(Loc loc, Dsymbol declaration) | 39 this(Loc loc, Dsymbol declaration) |
36 { | 40 { |
37 register(); | 41 register(); |