summaryrefslogtreecommitdiff
path: root/lex.h
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-18 12:17:22 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-18 12:17:22 +0200
commitc95d6b05559457a4abb693f3fc2e3d5eb54ab05b (patch)
tree4bb98d9a73e98534ce957c2db370189c6140cf27 /lex.h
parent0916bce4d23c59e3d12df3b216fad62b60e4f155 (diff)
coalesce the preproc files
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);
-
-
-
-
-
-
-
-