From 68db110d34611fc8bb79035d3a11bba07dea43f3 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Sun, 15 Mar 2026 21:56:38 -0400 Subject: move stuff --- lexer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lexer.c b/lexer.c index f472acc..2fc6885 100644 --- a/lexer.c +++ b/lexer.c @@ -5,6 +5,10 @@ #include #include +static FILE* file = NULL; +static int lookahead; +static unsigned long LINE, COL; + #define LEXER_PANIC(format, ...) {\ fprintf(\ stderr,\ @@ -15,10 +19,6 @@ exit(1);\ } -static FILE* file = NULL; -static int lookahead; -static unsigned long LINE, COL; - void lexer_load(const char* path) { if (file != NULL) { fclose(file); -- cgit v1.2.3