summaryrefslogtreecommitdiff
path: root/div.c
diff options
context:
space:
mode:
Diffstat (limited to 'div.c')
-rw-r--r--div.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/div.c b/div.c
new file mode 100644
index 0000000..ec73323
--- /dev/null
+++ b/div.c
@@ -0,0 +1,18 @@
+#include "div.h"
+#include "gl.h"
+#include "im.h"
+#include "lk.h"
+#include "pr.h"
+#include "td.h"
+#include "ws.h"
+
+const struct seq divseq[] =
+{
+ {(const struct step[]){{ID, "storage"}, {0}}, .fn = ws},
+ {(const struct step[]){{ID, "linkage"}, {0}}, .fn = lk},
+ {(const struct step[]){{ID, "globals"}, {0}}, .fn = gl},
+ {(const struct step[]){{ID, "procedure"}, {0}}, .fn = pr},
+ {(const struct step[]){{ID, "types"}, {0}}, .fn = td},
+ {(const struct step[]){{ID, "import"}, {LIT}, {0}}, .fn = im},
+ {0}
+};