diff options
| author | Mel <mel@rnrd.eu> | 2025-07-10 00:27:39 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-07-10 00:27:39 +0200 |
| commit | 4ef58f4d2b7ea810ab4d5db08fe45216f6597336 (patch) | |
| tree | 57d9f00a74dabfda6f221b97579cd78f35641182 /boot/catboot.c | |
| parent | 961ca5fb2c5aaf45b81c154874e503564afc2290 (diff) | |
| download | catskill-4ef58f4d2b7ea810ab4d5db08fe45216f6597336.tar.zst catskill-4ef58f4d2b7ea810ab4d5db08fe45216f6597336.zip | |
Display causing tokens lexeme directly from source for error messages
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/catboot.c')
| -rw-r--r-- | boot/catboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
