Mercurial > projects > ddmd
comparison dmd/RealExp.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.backend.mTY; | 24 import dmd.backend.mTY; |
25 | 25 |
26 import std.stdio; | 26 import std.stdio; |
27 import std.string; | 27 import std.string; |
28 | 28 |
29 import dmd.DDMDExtensions; | |
30 | |
29 class RealExp : Expression | 31 class RealExp : Expression |
30 { | 32 { |
33 mixin insertMemberExtension!(typeof(this)); | |
34 | |
31 real value; | 35 real value; |
32 | 36 |
33 this(Loc loc, real value, Type type) | 37 this(Loc loc, real value, Type type) |
34 { | 38 { |
35 register(); | 39 register(); |