aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen.h')
-rw-r--r--src/codegen.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/codegen.h b/src/codegen.h
index 517b94d..74bd4fb 100644
--- a/src/codegen.h
+++ b/src/codegen.h
@@ -1,9 +1,11 @@
#ifndef ORYX_CODEGEN_H
#define ORYX_CODEGEN_H
+#include "analyzer.h"
#include "lexer.h"
#include "parser.h"
-void codegen(struct ast ast, struct lexemes toks);
+void codegen(const char *, struct type *, struct ast, struct lexemes)
+ __attribute__((nonnull));
#endif /* !ORYX_CODEGEN_H */