aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/end.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prc1/end.h')
-rw-r--r--src/prc1/end.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/prc1/end.h b/src/prc1/end.h
new file mode 100644
index 0000000..5286f4f
--- /dev/null
+++ b/src/prc1/end.h
@@ -0,0 +1,18 @@
+#ifndef END_H
+#define END_H
+
+#include "cgen.h"
+#include "lex.h"
+#include "prv.h"
+#include <stddef.h>
+
+struct end
+{
+ size_t block_i;
+};
+
+int end(const struct lex *l, struct prv *p);
+int end_cgen(const struct end *e, struct cgen *c);
+void end_free(struct end *e);
+
+#endif