From 7c047df78502d53411fef09c6e39540d2b7e796a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 27 Apr 2021 16:24:24 +0200 Subject: Fixed some overflows and enabled live parsing --- src/inc/lexer.h | 1 + src/inc/warnings.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/inc') diff --git a/src/inc/lexer.h b/src/inc/lexer.h index f323f58..33b56af 100644 --- a/src/inc/lexer.h +++ b/src/inc/lexer.h @@ -6,6 +6,7 @@ enum token_type { UNKNOWN, NEWLINE, + END, SPACE, INSTR_START, diff --git a/src/inc/warnings.h b/src/inc/warnings.h index f8c06bb..76da8b4 100644 --- a/src/inc/warnings.h +++ b/src/inc/warnings.h @@ -11,6 +11,7 @@ struct context { void warnings_print(void); void warnings_add(struct context *ctx, const char *fmt, ...); void warnings_clear(void); +void warnings_remove_marks(void); u8 warnings_exist(void); #endif -- cgit v1.2.3