mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Variable declaration was also causing this issue. It was caused by a value being left on the stack after these statements. It wasn't a quick fix, as chained assignments depended on it. Now, the assignment opcode has a configuration option, indicating if the last value should be left on the stack or not. This also means the benchmark in 'scripts/benchpress.toy' will no longer cause a stack overflow. Fixed #171
34 KiB
34 KiB