comparison dmd/StaticIfCondition.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
9 import dmd.Condition; 9 import dmd.Condition;
10 import dmd.HdrGenState; 10 import dmd.HdrGenState;
11 import dmd.WANT; 11 import dmd.WANT;
12 import dmd.Util; 12 import dmd.Util;
13 13
14 import dmd.DDMDExtensions;
15
14 class StaticIfCondition : Condition 16 class StaticIfCondition : Condition
15 { 17 {
18 mixin insertMemberExtension!(typeof(this));
19
16 Expression exp; 20 Expression exp;
17 21
18 this(Loc loc, Expression exp) 22 this(Loc loc, Expression exp)
19 { 23 {
20 register(); 24 register();