From c95d6b05559457a4abb693f3fc2e3d5eb54ab05b Mon Sep 17 00:00:00 2001 From: Ákos Kőrösi Date: Mon, 18 May 2026 12:17:22 +0200 Subject: coalesce the preproc files --- lex.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 lex.h (limited to 'lex.h') 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); - - - - - - - - -- cgit v1.2.3