Minor tweak that shouldn't break anything

This commit is contained in:
2023-03-04 22:57:41 +11:00
parent e6d9809da5
commit 669808730e

View File

@@ -1756,7 +1756,7 @@ static bool execIndexAssign(Toy_Interpreter* interpreter) {
} }
//iterate... //iterate...
while(interpreter->stack.count > 1) { while(interpreter->stack.count >= 4) {
Toy_freeLiteral(assign); Toy_freeLiteral(assign);
Toy_freeLiteral(third); Toy_freeLiteral(third);
Toy_freeLiteral(second); Toy_freeLiteral(second);