about summary refs log tree commit diff
path: root/boot/catboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/catboot.c')
-rw-r--r--boot/catboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/catboot.c b/boot/catboot.c
index e2e5315..53b2bed 100644
--- a/boot/catboot.c
+++ b/boot/catboot.c
@@ -87,7 +87,8 @@ debug_lex_pass(struct String source)
     struct Token token;
     do {
         token = lexer_next(&lexer);
-        printf("%s ", token_kind_to_string(token.kind));
+        token_print(&token);
+        printf(" ");
     } while (token.kind != TOKEN_END_OF_FILE);
 
     return 0;