diff options
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); |
