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

🔖 is now a function reference

This commit is contained in:
Étienne Fildadut 2022-01-14 21:40:08 +01:00
parent fd07db83f2
commit 5a61573cdb
5 changed files with 11 additions and 12 deletions

View file

@ -437,11 +437,11 @@ local function eval(state, exp)
else
local e
-- eval function from start
if paren_call or checkpoint.value == "" then
if paren_call or checkpoint.type == "nil" then
ret, e = run(state, fn.child)
-- resume at last checkpoint
else
local expr, err = expression(checkpoint.value, state, fn.namespace)
local expr, err = expression(checkpoint.value[1], state, fn.namespace)
if not expr then return expr, err end
ret, e = eval(state, expr)
end