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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
1 module dmd.BE;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
3 /* How a statement exits; this is returned by blockExit()
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 */
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
5 enum BE
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
6 {
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7 BEnone = 0,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
8 BEfallthru = 1,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
9 BEthrow = 2,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
10 BEreturn = 4,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
11 BEgoto = 8,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
12 BEhalt = 0x10,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13 BEbreak = 0x20,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
14 BEcontinue = 0x40,
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 BEany = (BEfallthru | BEthrow | BEreturn | BEgoto | BEhalt),
56
51605de93870 TupleExp.optimize
korDen
parents: 0
diff changeset
16 }
51605de93870 TupleExp.optimize
korDen
parents: 0
diff changeset
17
51605de93870 TupleExp.optimize
korDen
parents: 0
diff changeset
18 import dmd.EnumUtils;
51605de93870 TupleExp.optimize
korDen
parents: 0
diff changeset
19 mixin(BringToCurrentScope!(BE));