TEST [[ local () ]] TEST [[ local z, y, () ]] TEST [[ local = 1 () ]] TEST [[ local z, y, = 1 () ]] TEST [[ local x local () ]] TEST [[ local do () end ]] TEST [[ local do local x end () ]] TEST [[ local if then local x end ]] TEST [[ local if x then local x elseif then local x end ]] TEST [[ local if x then local x elseif x then local x else local x end () ]] TEST [[ local if x then () elseif x then local x else local x end ]] TEST [[ local for x = 1, 10 do end () ]] TEST [[ local x for = 1, 10 do () end ]] TEST [[ local for x in x do end () ]] TEST [[ local for x in do end ]] TEST [[ local x for in x do () end ]] TEST [[ local x for z, y, in x do () end ]] TEST [[ local while do end ]] TEST [[ local while x do () end ]] TEST [[ local while x do local x end () ]] TEST [[ local repeat () until true ]] TEST [[ local repeat local x until true () ]] TEST [[ local repeat until ]] TEST [[ local x repeat local until ]] TEST [[ local function _() local x end () ]] TEST [[ local return function () () end ]] TEST [[ local local x = function () () end ]]