Mercurial > projects > ddmd
comparison dmd/DollarExp.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 |
---|---|
5 import dmd.Loc; | 5 import dmd.Loc; |
6 import dmd.Identifier; | 6 import dmd.Identifier; |
7 import dmd.TOK; | 7 import dmd.TOK; |
8 import dmd.Id; | 8 import dmd.Id; |
9 | 9 |
10 import dmd.DDMDExtensions; | |
11 | |
10 class DollarExp : IdentifierExp | 12 class DollarExp : IdentifierExp |
11 { | 13 { |
14 mixin insertMemberExtension!(typeof(this)); | |
15 | |
12 this(Loc loc) | 16 this(Loc loc) |
13 { | 17 { |
14 register(); | 18 register(); |
15 super(loc, Id.dollar); | 19 super(loc, Id.dollar); |
16 } | 20 } |