Mercurial > projects > ddmd
view dmd/DVCondition.d @ 87:b17640f0e4e8
Fixed a bug with a Scope.this(Scope enclosing) being called instead of Scope.clone() method (as a copy ctor replacement)
author | korDen |
---|---|
date | Mon, 30 Aug 2010 19:56:27 +0400 |
parents | 2e2a5c3f943a |
children | e28b18c23469 |
line wrap: on
line source
module dmd.DVCondition; 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 } }