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:
parent
a85e7ab0af
commit
15f29e3bce
31 changed files with 70 additions and 163 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue