frontend: repl: print ast once all tokens in the lex buffer have been consumed
This commit is contained in:
@@ -109,7 +109,7 @@ static int repl_full()
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!ivy_parser_is_node_complete(parser)) {
|
||||
if (ivy_lexer_tokens_available(lex)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user