frontend: debug: add support for printing negative number tokens
This commit is contained in:
@@ -64,7 +64,7 @@ extern void print_lex_token(struct ivy_token *tok)
|
|||||||
printf("(%s)", ivy_keyword_to_string(tok->t_keyword));
|
printf("(%s)", ivy_keyword_to_string(tok->t_keyword));
|
||||||
break;
|
break;
|
||||||
case IVY_TOK_INT:
|
case IVY_TOK_INT:
|
||||||
printf("(%llu)", tok->t_int);
|
printf("(%lld)", tok->t_int);
|
||||||
break;
|
break;
|
||||||
case IVY_TOK_DOUBLE:
|
case IVY_TOK_DOUBLE:
|
||||||
printf("(%lf)", tok->t_double);
|
printf("(%lf)", tok->t_double);
|
||||||
|
|||||||
Reference in New Issue
Block a user