From c4935826eea8df7a161b2b4ba9262dce66d9d366 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 16 May 2022 01:03:05 +0800 Subject: fix issue #102. fix `continue` statement locating issue. --- spec/inputs/loops.yue | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'spec/inputs') diff --git a/spec/inputs/loops.yue b/spec/inputs/loops.yue index 3191000..d03e661 100644 --- a/spec/inputs/loops.yue +++ b/spec/inputs/loops.yue @@ -109,6 +109,14 @@ repeat print a until a == 10 +x = 0 +repeat + x += 1 + y = x + continue if x < 5 + print y +until y == 10 + a = 3 until a == 0 a -= 1 -- cgit v1.2.3-55-g6feb