diff options
| author | Li Jin <dragon-fly@qq.com> | 2022-03-05 13:10:12 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2022-03-05 13:10:12 +0800 |
| commit | f48e99462a9fac6b4e5ad1b823b78d263025970c (patch) | |
| tree | e2304e75fca79ddf98caf26392e7a7ba8264d1d6 /spec/outputs/loops.lua | |
| parent | 9eb846a1e1e11f7ce2f6b89120b2835af470daa6 (diff) | |
| download | yuescript-f48e99462a9fac6b4e5ad1b823b78d263025970c.tar.gz yuescript-f48e99462a9fac6b4e5ad1b823b78d263025970c.tar.bz2 yuescript-f48e99462a9fac6b4e5ad1b823b78d263025970c.zip | |
fix issue #82.
Diffstat (limited to '')
| -rw-r--r-- | spec/outputs/loops.lua | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/spec/outputs/loops.lua b/spec/outputs/loops.lua index a905e4e..aa69840 100644 --- a/spec/outputs/loops.lua +++ b/spec/outputs/loops.lua | |||
| @@ -171,11 +171,13 @@ for i = 1, 10 do | |||
| 171 | while true do | 171 | while true do |
| 172 | local _continue_0 = false | 172 | local _continue_0 = false |
| 173 | repeat | 173 | repeat |
| 174 | if not true then | 174 | do |
| 175 | _continue_0 = true | 175 | if not true then |
| 176 | _continue_0 = true | ||
| 177 | break | ||
| 178 | end | ||
| 176 | break | 179 | break |
| 177 | end | 180 | end |
| 178 | break | ||
| 179 | _continue_0 = true | 181 | _continue_0 = true |
| 180 | until true | 182 | until true |
| 181 | if not _continue_0 then | 183 | if not _continue_0 then |
| @@ -313,11 +315,13 @@ end | |||
| 313 | while true do | 315 | while true do |
| 314 | local _continue_0 = false | 316 | local _continue_0 = false |
| 315 | repeat | 317 | repeat |
| 316 | if false then | 318 | do |
| 317 | _continue_0 = true | 319 | if false then |
| 320 | _continue_0 = true | ||
| 321 | break | ||
| 322 | end | ||
| 318 | break | 323 | break |
| 319 | end | 324 | end |
| 320 | break | ||
| 321 | _continue_0 = true | 325 | _continue_0 = true |
| 322 | until true | 326 | until true |
| 323 | if not _continue_0 then | 327 | if not _continue_0 then |
