File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ elseif z then
28
28
for i = 1,(function() return i end) do i() end -- lambda control
29
29
-- repeat until
30
30
repeat local z = 1 until z == w
31
+ do local z repeat until z end z()
32
+ do repeat repeat local z until z until z end z()
31
33
-- while loop
32
34
do do local z while z do local zz zz() end z(zz) end z() end
33
35
-- function
@@ -89,6 +91,8 @@ elseif _ENV.z then
89
91
for i = 1,(function() return _ENV.i end) do i() end -- lambda control
90
92
-- repeat until
91
93
repeat local z = 1 until z == _ENV.w
94
+ do local z repeat until z end _ENV.z()
95
+ do repeat repeat local z until z until _ENV.z end _ENV.z()
92
96
-- while loop
93
97
do do local z while z do local zz zz() end z(_ENV.zz) end _ENV.z() end
94
98
-- function
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ function PARSE.parse_scope(lx, f)
78
78
if c .tag == ' Keyword' and (
79
79
c [1 ] == ' break' or c [1 ] == ' goto' or c [1 ] == ' do' or c [1 ] == ' while' or
80
80
c [1 ] == ' repeat' or c [1 ] == ' if' or c [1 ] == ' for' or c [1 ] == ' function' and lx :peek ().tag == ' Id' or
81
- c [1 ] == ' local' or c [1 ] == ' ;' or c [1 ] == ' until' or c [1 ] == ' return' ) or
81
+ c [1 ] == ' local' or c [1 ] == ' ;' or c [1 ] == ' until' or c [1 ] == ' return' or c [ 1 ] == ' end ' ) or
82
82
c .tag == ' Id' and
83
83
(cprev .tag == ' Id' or
84
84
cprev .tag == ' Keyword' and
You can’t perform that action at this time.
0 commit comments