Mercurial > projects > ddmd
view dmd/DVCondition.d @ 175:94b6033c07f3
get rid of globals
malloc -> GC.malloc
author | korDen |
---|---|
date | Sun, 10 Oct 2010 03:48:06 +0400 |
parents | e28b18c23469 |
children | e3afd1303184 |
line wrap: on
line source
module dmd.DVCondition; import dmd.common; import dmd.Condition; import dmd.Identifier; import dmd.Module; import dmd.Loc; class DVCondition : Condition { uint level; Identifier ident; Module mod; this(Module mod, uint level, Identifier ident) { super(Loc(0)); this.mod = mod; this.level = level; this.ident = ident; } override Condition syntaxCopy() { return this; // don't need to copy } }