annotate dmd/GlobalExpressions.d @ 192:eb38fdcb3e62 default tip

updated to compile with dmd2.062
author korDen
date Sat, 02 Mar 2013 01:25:52 -0800
parents 50a6d232176c
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.GlobalExpressions;
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
2
114
e28b18c23469 added a module dmd.common for commonly used stuff
Trass3r
parents: 0
diff changeset
3 import dmd.common;
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
4 import dmd.Expression;
192
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
5 import dmd.Loc;
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
6 import dmd.TOK;
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
7
192
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
8 __gshared Expression EXP_CANT_INTERPRET;
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
9 __gshared Expression EXP_CONTINUE_INTERPRET;
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
10 __gshared Expression EXP_BREAK_INTERPRET;
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
11 __gshared Expression EXP_GOTO_INTERPRET;
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
12 __gshared Expression EXP_VOID_INTERPRET;
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
13
192
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
14 void initGlobalExpressions()
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
15 {
192
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
16 EXP_CANT_INTERPRET = new Expression(Loc(0), TOK.init, 0);
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
17 EXP_CONTINUE_INTERPRET = new Expression(Loc(0), TOK.init, 0);
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
18 EXP_BREAK_INTERPRET = new Expression(Loc(0), TOK.init, 0);
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
19 EXP_GOTO_INTERPRET = new Expression(Loc(0), TOK.init, 0);
eb38fdcb3e62 updated to compile with dmd2.062
korDen
parents: 167
diff changeset
20 EXP_VOID_INTERPRET = new Expression(Loc(0), TOK.init, 0);
0
10317f0c89a5 Initial commit
korDen
parents:
diff changeset
21 }