annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
99
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
1 /**
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
2 *
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
3 */
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
4 module dmd.PASS;
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
5
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
6 /* State of symbol in winding its way through the passes of the compiler
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
7 */
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
8 enum PASS
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
9 {
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
10 PASSinit, // initial state
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
11 PASSsemantic, // semantic() started
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
12 PASSsemanticdone, // semantic() done
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
13 PASSsemantic2, // semantic2() run
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
14 PASSsemantic3, // semantic3() started
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
15 PASSsemantic3done, // semantic3() done
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
16 PASSobj, // toObjFile() run
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
17 }
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
18
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
19 import dmd.EnumUtils;
903b95002d4e Id and Macro are quite experimental currently
Trass3r
parents:
diff changeset
20 mixin(BringToCurrentScope!(PASS));