frontend: repl: print ast once all tokens in the lex buffer have been consumed

This commit is contained in:
2024-11-25 16:51:29 +00:00
parent f9b0096dd7
commit 8eb7eff274

View File

@@ -109,7 +109,7 @@ static int repl_full()
continue;
}
if (!ivy_parser_is_node_complete(parser)) {
if (ivy_lexer_tokens_available(lex)) {
continue;
}