Mercurial > projects > ddmd
comparison dmd/VersionSymbol.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 |
---|---|
11 import dmd.ScopeDsymbol; | 11 import dmd.ScopeDsymbol; |
12 import dmd.HdrGenState; | 12 import dmd.HdrGenState; |
13 import dmd.String; | 13 import dmd.String; |
14 import dmd.OutBuffer; | 14 import dmd.OutBuffer; |
15 | 15 |
16 import dmd.DDMDExtensions; | |
17 | |
16 /* VersionSymbol's happen for statements like: | 18 /* VersionSymbol's happen for statements like: |
17 * version = identifier; | 19 * version = identifier; |
18 * version = integer; | 20 * version = integer; |
19 */ | 21 */ |
20 class VersionSymbol : Dsymbol | 22 class VersionSymbol : Dsymbol |
21 { | 23 { |
24 mixin insertMemberExtension!(typeof(this)); | |
25 | |
22 uint level; | 26 uint level; |
23 | 27 |
24 this(Loc loc, Identifier ident) | 28 this(Loc loc, Identifier ident) |
25 { | 29 { |
26 register(); | 30 register(); |