more work on FS

This commit is contained in:
2026-03-31 13:13:11 +02:00
parent 5c854e5c4a
commit 76b14524c5
10 changed files with 191 additions and 45 deletions

View File

@@ -73,7 +73,7 @@ local function dofile(file)
status("> " .. file)
local program, reason = raw_loadfile(file)
if program then
local result = table.pack(xpcall(program, debug.traceback))
local result = table.pack(pcall(program))
if result[1] then
return table.unpack(result, 2, result.n)
else