aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/goto.yue
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/goto.yue')
-rw-r--r--spec/inputs/goto.yue8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/inputs/goto.yue b/spec/inputs/goto.yue
index 61584ca..3f3ae89 100644
--- a/spec/inputs/goto.yue
+++ b/spec/inputs/goto.yue
@@ -16,10 +16,10 @@ do
16do 16do
17 for z = 1, 10 17 for z = 1, 10
18 for y = 1, 10 do for x = 1, 10 18 for y = 1, 10 do for x = 1, 10
19 if x^2 + y^2 == z^2 19 if x^2 + y^2 == z^2
20 print 'found a Pythagorean triple:', x, y, z 20 print 'found a Pythagorean triple:', x, y, z
21 print 'now trying next z...' 21 print 'now trying next z...'
22 goto zcontinue 22 goto zcontinue
23 ::zcontinue:: 23 ::zcontinue::
24 24
25do 25do