aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/loops.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-09-30 11:29:41 +0800
committerLi Jin <dragon-fly@qq.com>2022-09-30 11:29:41 +0800
commit5aa41b436b3fdf29f5a0046c68cb60b16fa09eb2 (patch)
tree5c5c0ecdab0d19544652bc05b70d8131e1645337 /spec/inputs/loops.yue
parenta6b6753fda9745f316f3236462b74794b35b85c9 (diff)
downloadyuescript-5aa41b436b3fdf29f5a0046c68cb60b16fa09eb2.tar.gz
yuescript-5aa41b436b3fdf29f5a0046c68cb60b16fa09eb2.tar.bz2
yuescript-5aa41b436b3fdf29f5a0046c68cb60b16fa09eb2.zip
fix issue #81, refactor continue with gotos.
Diffstat (limited to 'spec/inputs/loops.yue')
-rw-r--r--spec/inputs/loops.yue8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/inputs/loops.yue b/spec/inputs/loops.yue
index d03e661..d997c65 100644
--- a/spec/inputs/loops.yue
+++ b/spec/inputs/loops.yue
@@ -111,10 +111,10 @@ until a == 10
111 111
112x = 0 112x = 0
113repeat 113repeat
114 x += 1 114 x += 1
115 y = x 115 y = x
116 continue if x < 5 116 continue if x < 5
117 print y 117 print y
118until y == 10 118until y == 10
119 119
120a = 3 120a = 3