From 4ef58f4d2b7ea810ab4d5db08fe45216f6597336 Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 10 Jul 2025 00:27:39 +0200 Subject: Display causing tokens lexeme directly from source for error messages Signed-off-by: Mel --- boot/catboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/catboot.c') diff --git a/boot/catboot.c b/boot/catboot.c index ed5831e..155c3c5 100644 --- a/boot/catboot.c +++ b/boot/catboot.c @@ -87,7 +87,7 @@ debug_lex_pass(struct String source) struct Token token; do { token = lexer_next(&lexer); - token_print(&token); + token_debug_print(&token); printf(" "); } while (token.kind != TOKEN_END_OF_FILE); -- cgit 1.4.1