Mercurial > projects > ddmd
annotate dmd/DVCondition.d @ 72:2e2a5c3f943a
reduced warnings by adding override to the methods
think this also normalizes different line endings used all over the place
author | Trass3r |
---|---|
date | Sat, 28 Aug 2010 16:19:48 +0200 |
parents | a8b50ff7f201 |
children | e28b18c23469 |
rev | line source |
---|---|
0 | 1 module dmd.DVCondition; |
2 | |
3 import dmd.Condition; | |
4 import dmd.Identifier; | |
5 import dmd.Module; | |
6 import dmd.Loc; | |
7 | |
8 class DVCondition : Condition | |
9 { | |
10 uint level; | |
11 Identifier ident; | |
12 Module mod; | |
13 | |
14 this(Module mod, uint level, Identifier ident) | |
15 { | |
16 super(Loc(0)); | |
17 this.mod = mod; | |
18 this.level = level; | |
19 this.ident = ident; | |
20 } | |
21 | |
72 | 22 override Condition syntaxCopy() |
0 | 23 { |
53 | 24 return this; // don't need to copy |
0 | 25 } |
72 | 26 } |