Mercurial > projects > ddmd
annotate dmd/LabelDsymbol.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 | 10317f0c89a5 |
children | e28b18c23469 |
rev | line source |
---|---|
0 | 1 module dmd.LabelDsymbol; |
2 | |
3 import dmd.Dsymbol; | |
4 import dmd.LabelStatement; | |
5 import dmd.Identifier; | |
6 | |
7 class LabelDsymbol : Dsymbol | |
8 { | |
9 LabelStatement statement; | |
10 | |
11 version (IN_GCC) { | |
12 uint asmLabelNum; // GCC-specific | |
13 } | |
14 | |
15 this(Identifier ident) | |
16 { | |
17 super(ident); | |
18 } | |
19 | |
72 | 20 override LabelDsymbol isLabel() |
0 | 21 { |
22 return this; | |
23 } | |
72 | 24 } |