view dmd/DVCondition.d @ 136:9d194c848e3a

fixed a few null reference bugs, thx sagitario
author Trass3r
date Mon, 13 Sep 2010 23:27:38 +0200
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
	}
}