Mercurial > projects > ddmd
comparison dmd/DeleteExp.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 |
---|---|
39 import dmd.backend.RTLSYM; | 39 import dmd.backend.RTLSYM; |
40 import dmd.backend.mTY; | 40 import dmd.backend.mTY; |
41 import dmd.backend.Symbol; | 41 import dmd.backend.Symbol; |
42 import dmd.backend.TYM; | 42 import dmd.backend.TYM; |
43 | 43 |
44 import dmd.DDMDExtensions; | |
45 | |
44 class DeleteExp : UnaExp | 46 class DeleteExp : UnaExp |
45 { | 47 { |
48 mixin insertMemberExtension!(typeof(this)); | |
49 | |
46 this(Loc loc, Expression e) | 50 this(Loc loc, Expression e) |
47 { | 51 { |
48 register(); | 52 register(); |
49 super(loc, TOK.TOKdelete, DeleteExp.sizeof, e); | 53 super(loc, TOK.TOKdelete, DeleteExp.sizeof, e); |
50 } | 54 } |