frontend: always print lex tokens when compiling file or repl input

This commit is contained in:
2024-11-27 22:30:42 +00:00
parent 101d87e09d
commit 9df8474515
2 changed files with 4 additions and 2 deletions

View File

@@ -66,8 +66,9 @@ int repl(const b_command *cmd, const b_arglist *args, const b_array *_)
continue;
}
print_lex_token(tok);
if (lex_only) {
print_lex_token(tok);
ivy_token_destroy(tok);
continue;
}