frontend: debug: add support for printing negative number tokens

This commit is contained in:
2025-11-07 09:54:33 +00:00
parent b0cbe42fc4
commit 8150e218ee

View File

@@ -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);