Mercurial > projects > ddmd
comparison dmd/PASS.d @ 99:903b95002d4e
Id and Macro are quite experimental currently
author | Trass3r |
---|---|
date | Tue, 31 Aug 2010 04:04:33 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
98:5c859d5fbe27 | 99:903b95002d4e |
---|---|
1 /** | |
2 * | |
3 */ | |
4 module dmd.PASS; | |
5 | |
6 /* State of symbol in winding its way through the passes of the compiler | |
7 */ | |
8 enum PASS | |
9 { | |
10 PASSinit, // initial state | |
11 PASSsemantic, // semantic() started | |
12 PASSsemanticdone, // semantic() done | |
13 PASSsemantic2, // semantic2() run | |
14 PASSsemantic3, // semantic3() started | |
15 PASSsemantic3done, // semantic3() done | |
16 PASSobj, // toObjFile() run | |
17 } | |
18 | |
19 import dmd.EnumUtils; | |
20 mixin(BringToCurrentScope!(PASS)); |