summaryrefslogtreecommitdiff
path: root/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'lex.h')
-rw-r--r--lex.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lex.h b/lex.h
index b27c03e..77b6838 100644
--- a/lex.h
+++ b/lex.h
@@ -76,4 +76,12 @@ DECLARE_MAYBE(Chunk);
DECLARE_VEC(ExpansionRegion, ExpansionRegionVec)
+
+typedef struct {
+ TokenVec top_tokens;
+ ExpansionRegionVec reg_arena;
+} LexResult;
+
+
+LexResult lex(char* input);
#endif