1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

Undefine _ in attached block

This commit is contained in:
Étienne Fildadut 2024-01-02 14:35:18 +01:00
parent a85e7ab0af
commit 15f29e3bce
31 changed files with 70 additions and 163 deletions

View file

@ -47,6 +47,8 @@ local function run_loop(run_state, out)
elseif e == "return" then
table.insert(out, data:format(run_state))
run_state:merge()
elseif e == "error" then
table.insert(out, (tostring(data):gsub("\n%s*↳[^\n]*", ""))) -- traceback change every day and a half due to AST changes. TODO: only keep ast layers relevant for the user
else
table.insert(out, tostring(data))
end