aboutsummaryrefslogtreecommitdiff
path: root/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'init.h')
-rw-r--r--init.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/init.h b/init.h
new file mode 100644
index 0000000..9200e9f
--- /dev/null
+++ b/init.h
@@ -0,0 +1,13 @@
+struct initializer {
+ uint64_t start, end;
+ struct expression *expr;
+ struct initializer *next, *subinit;
+};
+
+struct scope;
+struct type;
+struct function;
+struct declaration;
+
+struct initializer *mkinit(uint64_t, struct expression *);
+struct initializer *parseinit(struct scope *, struct type *);