summaryrefslogtreecommitdiff
path: root/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'lex.h')
-rw-r--r--lex.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/lex.h b/lex.h
deleted file mode 100644
index 6c3c8b9..0000000
--- a/lex.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#pragma once
-
-#include "defs.h"
-#include "utils.h"
-
-DECLARE_VEC(Chunk, ChunkVec)
-DECLARE_VEC(Token, TokenVec)
-
-typedef struct {
- RegionVec regions;
- TokenVec tokens;
- ChunkVec chunks;
-} PreprocArena;
-
-
-typedef struct {
- TokenVec top_tokens;
- RegionVec reg_arena;
-} LexResult;
-
-
-TokenPtrVec lex(char* input, PreprocArena* arena);
-
-
-
-
-
-
-
-