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