aboutsummaryrefslogtreecommitdiff
path: root/src/sema/sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sema/sema.h')
-rw-r--r--src/sema/sema.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sema/sema.h b/src/sema/sema.h
index e015f41..468d1be 100644
--- a/src/sema/sema.h
+++ b/src/sema/sema.h
@@ -2,6 +2,7 @@
#include <stdbool.h>
+#include "diag/diag.h"
#include "parser/ast.h"
-bool analyze_program(struct Program* program);
+bool analyze_program(struct Source source, struct Program* program);