From 52f705e81ce2d7a42c6c14fca92c5e2a4326c988 Mon Sep 17 00:00:00 2001 From: Ákos Kőrösi Date: Tue, 12 May 2026 10:23:03 +0200 Subject: wire up a basic test main with the lexing --- lex.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lex.h') 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 -- cgit v1.2.3