aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analyzer.h')
-rw-r--r--src/analyzer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/analyzer.h b/src/analyzer.h
index 2173694..abb4395 100644
--- a/src/analyzer.h
+++ b/src/analyzer.h
@@ -8,6 +8,7 @@
#include "alloc.h"
#include "lexer.h"
#include "parser.h"
+#include "symtab.h"
#include "types.h"
/* The different base types */
@@ -31,8 +32,6 @@ enum {
static_assert(_TYPE_LAST_ENT - 1 <= UINT8_MAX,
"Too many AST tokens to fix in uint8_t");
-typedef struct symtab symtab_t;
-
typedef struct {
idx_t up, i;
symtab_t *map;