about summary refs log tree commit diff
path: root/users/tazjin/rlox/examples/if.lox
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/rlox/examples/if.lox')
-rw-r--r--users/tazjin/rlox/examples/if.lox4
1 files changed, 3 insertions, 1 deletions
diff --git a/users/tazjin/rlox/examples/if.lox b/users/tazjin/rlox/examples/if.lox
index b59f00b20161..5f335c0e8b29 100644
--- a/users/tazjin/rlox/examples/if.lox
+++ b/users/tazjin/rlox/examples/if.lox
@@ -1,5 +1,7 @@
-if (true) {
+if (false) {
   print "yes";
+} else {
+  print "no";
 }
 
 print "afterwards";