Mercurial > projects > ddmd
annotate dmd/BE.d @ 192:eb38fdcb3e62 default tip
updated to compile with dmd2.062
author | korDen |
---|---|
date | Sat, 02 Mar 2013 01:25:52 -0800 |
parents | 51605de93870 |
children |
rev | line source |
---|---|
0 | 1 module dmd.BE; |
2 | |
3 /* How a statement exits; this is returned by blockExit() | |
4 */ | |
5 enum BE | |
6 { | |
7 BEnone = 0, | |
8 BEfallthru = 1, | |
9 BEthrow = 2, | |
10 BEreturn = 4, | |
11 BEgoto = 8, | |
12 BEhalt = 0x10, | |
13 BEbreak = 0x20, | |
14 BEcontinue = 0x40, | |
15 BEany = (BEfallthru | BEthrow | BEreturn | BEgoto | BEhalt), | |
56 | 16 } |
17 | |
18 import dmd.EnumUtils; | |
19 mixin(BringToCurrentScope!(BE)); |