Mercurial > projects > ddmd
comparison dmd/MinExp.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 |
---|---|
21 | 21 |
22 import dmd.backend.elem; | 22 import dmd.backend.elem; |
23 import dmd.backend.Util; | 23 import dmd.backend.Util; |
24 import dmd.backend.OPER; | 24 import dmd.backend.OPER; |
25 | 25 |
26 import dmd.DDMDExtensions; | |
27 | |
26 class MinExp : BinExp | 28 class MinExp : BinExp |
27 { | 29 { |
30 mixin insertMemberExtension!(typeof(this)); | |
31 | |
28 this(Loc loc, Expression e1, Expression e2) | 32 this(Loc loc, Expression e1, Expression e2) |
29 { | 33 { |
30 register(); | 34 register(); |
31 super(loc, TOK.TOKmin, MinExp.sizeof, e1, e2); | 35 super(loc, TOK.TOKmin, MinExp.sizeof, e1, e2); |
32 } | 36 } |