aboutsummaryrefslogtreecommitdiff
path: root/src/include/lexer.h
diff options
context:
space:
mode:
authorc+12023-10-02 13:13:23 -0400
committerc+12023-10-02 13:13:23 -0400
commitdee72dfcc0124be81e338a1d85948b8f1250085d (patch)
treee013ac2a9410cff9ef55ce10531505af72edf67f /src/include/lexer.h
parent1e62e5f079bdd61c37f2f510a77279345680ccbf (diff)
emalloc(), ecalloc(), erealloc()
Diffstat (limited to 'src/include/lexer.h')
-rw-r--r--src/include/lexer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/lexer.h b/src/include/lexer.h
index 28d0e6f..8d4f75f 100644
--- a/src/include/lexer.h
+++ b/src/include/lexer.h
@@ -1,11 +1,12 @@
#ifndef LEXER_H
#define LEXER_H
+#include "util.h"
+#include "syntax.h"
#include "token.h"
#define LEXER_VALID (lexer->c != '\0' && lexer->i < strlen(lexer->content))
-
/* the lexer struct */
typedef struct LEXER_STRUC {
/* current character in content */