1
0
mirror of https://github.com/Adorable-Catgirl/LuaComp.git synced 2024-11-23 10:28:06 +11:00

Alright, now it works.

This commit is contained in:
Jane Roxanne 2019-11-05 15:07:12 -05:00
parent 735d0b0ab3
commit d106f8c525

View File

@ -49,6 +49,7 @@ local function generate(ast)
io.stderr:write("ERROR: Internal catastrophic failure, unknown type "..leaf.type.."\n") io.stderr:write("ERROR: Internal catastrophic failure, unknown type "..leaf.type.."\n")
os.exit(1) os.exit(1)
end end
lua_code = lua_code .. "\n"
end end
local env = {code = ""} local env = {code = ""}
local function run_away_screaming(fpos, err) local function run_away_screaming(fpos, err)