diff options
Diffstat (limited to 'lex.h')
| -rw-r--r-- | lex.h | 30 |
1 files changed, 0 insertions, 30 deletions
@@ -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); - - - - - - - - |
