From 8150e218ee5a2c01a0d2317078520775ddcb400e Mon Sep 17 00:00:00 2001 From: Max Wash Date: Fri, 7 Nov 2025 09:54:33 +0000 Subject: [PATCH] frontend: debug: add support for printing negative number tokens --- frontend/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/debug.c b/frontend/debug.c index 821e37f..ee62f28 100644 --- a/frontend/debug.c +++ b/frontend/debug.c @@ -64,7 +64,7 @@ extern void print_lex_token(struct ivy_token *tok) printf("(%s)", ivy_keyword_to_string(tok->t_keyword)); break; case IVY_TOK_INT: - printf("(%llu)", tok->t_int); + printf("(%lld)", tok->t_int); break; case IVY_TOK_DOUBLE: printf("(%lf)", tok->t_double);