local function broken()
local x = 5
print(x)
end
local s = "unclosed string
print(s)
local function bad_if(x)
if x > 0
print("positive")
end
end
local function missing_end(x)
if x > 0 then
print("positive")
end
local t = {1, 2, 3
print(t[1])
local function nested()
local function inner()
local function deeper()
return 42
end
end
end
print("done"