Mercurial > projects > ddmd
annotate dmd/DVCondition.d @ 114:e28b18c23469
added a module dmd.common for commonly used stuff
it currently holds code for consistency checking of predefined versions
also added a VisualD project file
author | Trass3r |
---|---|
date | Wed, 01 Sep 2010 18:21:58 +0200 |
parents | 2e2a5c3f943a |
children | e3afd1303184 |
rev | line source |
---|---|
0 | 1 module dmd.DVCondition; |
2 | |
114 | 3 import dmd.common; |
0 | 4 import dmd.Condition; |
5 import dmd.Identifier; | |
6 import dmd.Module; | |
7 import dmd.Loc; | |
8 | |
9 class DVCondition : Condition | |
10 { | |
11 uint level; | |
12 Identifier ident; | |
13 Module mod; | |
14 | |
15 this(Module mod, uint level, Identifier ident) | |
16 { | |
17 super(Loc(0)); | |
18 this.mod = mod; | |
19 this.level = level; | |
20 this.ident = ident; | |
21 } | |
22 | |
72 | 23 override Condition syntaxCopy() |
0 | 24 { |
53 | 25 return this; // don't need to copy |
0 | 26 } |
72 | 27 } |