aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/fizzbuzz.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/fizzbuzz.slang b/example/fizzbuzz.slang
index 653c180..5693c9a 100644
--- a/example/fizzbuzz.slang
+++ b/example/fizzbuzz.slang
@@ -7,7 +7,7 @@
§ buzz? @ 5 % 0 = ;
§ fizzbuzz_or_fizz buzz? if fizzbuzz then fizz else . pop ;
-§ buzz_or_print dup buzz? if buzz then @ else . pop ;
+§ buzz_or_print dup buzz? if pop buzz then @ else . pop ;
§ branch dup fizz? if fizzbuzz_or_fizz then buzz_or_print else ;