Fix bug in loops.
It was still popping the stack for the body even though loop bodies are statements now.
This commit is contained in:
@@ -186,6 +186,7 @@ struct WrenVM
|
||||
Value unsupported;
|
||||
|
||||
SymbolTable globalSymbols;
|
||||
|
||||
// TODO(bob): Using a fixed array is gross here.
|
||||
Value globals[MAX_SYMBOLS];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user