diff options
| author | Carson Fleming <cflems@cflems.net> | 2026-03-15 21:56:38 -0400 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2026-03-15 21:56:38 -0400 |
| commit | 68db110d34611fc8bb79035d3a11bba07dea43f3 (patch) | |
| tree | 6c09d98930d2664181d0b111b4e708a87328c5cf /lexer.c | |
| parent | ef4e0881be7f34ca5c7bc366e629020a144ef0de (diff) | |
| download | ccc-68db110d34611fc8bb79035d3a11bba07dea43f3.tar.gz | |
move stuff
Diffstat (limited to 'lexer.c')
| -rw-r--r-- | lexer.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,6 +5,10 @@ #include <string.h> #include <stdckdint.h> +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); |
