summaryrefslogtreecommitdiff
path: root/src/main.go
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-12-18 19:00:54 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-12-18 19:00:54 +0400
commit724ee392e46317753dc760f53ffd399992cd0e6a (patch)
tree208fdf483cfe093351255b90800879bc9347d78f /src/main.go
parent0b4330fdf40707acafb33aad49dea49445a63b7a (diff)
end bug fix
Diffstat (limited to 'src/main.go')
-rw-r--r--src/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go
index 7947e45..bcddebb 100644
--- a/src/main.go
+++ b/src/main.go
@@ -38,7 +38,7 @@ func interpret(raw[]string) {
for i := 0; i < len(raw); i++ {
length := len(stack);
/* Conditional looping */
- if (skip_to_end) {
+ if (skip_to_end && raw[i] != "end") {
continue;
}
number, err = strconv.Atoi(raw[i]);