Mercurial > projects > ddmd
view dmd/TypeNewArray.d @ 79:43073c7c7769
updated to 2.035
also implemented a few missing functions
still crashes in Import.importAll though
author | Trass3r |
---|---|
date | Mon, 30 Aug 2010 03:57:51 +0200 |
parents | |
children | e28b18c23469 |
line wrap: on
line source
module dmd.TypeNewArray; import dmd.HdrGenState; import dmd.MOD; import dmd.OutBuffer; import dmd.Type; import dmd.TypeNext; import dmd.TY; /** T[new] */ class TypeNewArray : TypeNext { this(Type next) { super(Tnarray, next); //writef("TypeNewArray\n"); } void toCBuffer2(OutBuffer buf, HdrGenState *hgs, MOD mod) { if (mod != this.mod) { toCBuffer3(buf, hgs, mod); return; } next.toCBuffer2(buf, hgs, this.mod); buf.writestring("[new]"); } }