diff --git a/frontend/cmd/compile.c b/frontend/cmd/compile.c index 899ecb6..dc4ccff 100644 --- a/frontend/cmd/compile.c +++ b/frontend/cmd/compile.c @@ -87,6 +87,7 @@ static int compile_file(const char *path) case IVY_TOK_IDENT: case IVY_TOK_LABEL: case IVY_TOK_STRING: + case IVY_TOK_ATOM: printf("(%s)", tok->t_str); break; case IVY_TOK_SYMBOL: @@ -95,6 +96,9 @@ static int compile_file(const char *path) case IVY_TOK_KEYWORD: printf("(%s)", ivy_keyword_to_string(tok->t_keyword)); break; + case IVY_TOK_NUMBER: + printf("(%llu)", tok->t_number); + break; default: break; }