summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.go b/src/main.go
index bcddebb..0cf92f1 100644
--- a/src/main.go
+++ b/src/main.go
@@ -83,6 +83,7 @@ func interpret(raw[]string) {
if (stack[length - 1] == 0) {
skip_to_end = true;
}
+ stack = stack[:length - 1];
case "end":
skip_to_end = false;