Mercurial > projects > ddmd
view dmd/TypeNewArray.d @ 154:14feb7ae01a6
* changed the build system to build a release version if the debug one compiles
and enabled warnings
+ reduced warnings by adding appriopriate overrides
+ IfStatement.interpret()
+ ScopeStatement.interpret()
+ TypeSArray.constConv()
+ TypedefDeclaration.syntaxCopy()
* fixed a bug in StringExp
author | trass3r |
---|---|
date | Wed, 15 Sep 2010 15:32:31 +0200 |
parents | e28b18c23469 |
children | e3afd1303184 |
line wrap: on
line source
module dmd.TypeNewArray; import dmd.common; 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"); } override 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]"); } }