Mercurial > projects > ddmd
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmd/PASS.d Tue Aug 31 04:04:33 2010 +0200 @@ -0,0 +1,20 @@ +/** + * + */ +module dmd.PASS; + +/* State of symbol in winding its way through the passes of the compiler + */ +enum PASS +{ + PASSinit, // initial state + PASSsemantic, // semantic() started + PASSsemanticdone, // semantic() done + PASSsemantic2, // semantic2() run + PASSsemantic3, // semantic3() started + PASSsemantic3done, // semantic3() done + PASSobj, // toObjFile() run +} + +import dmd.EnumUtils; +mixin(BringToCurrentScope!(PASS)); \ No newline at end of file