turtle/tlang: fix copying error with = builtin
parent
0f8dd9c7f3
commit
ac9f18f6dd
|
@ -176,7 +176,7 @@ function builtins.run(state)
|
|||
end
|
||||
|
||||
builtins["="] = function(state)
|
||||
local tos = statepop_num(state)
|
||||
local name = statepop_type(state, "quote")
|
||||
local value = statepop(state)
|
||||
|
||||
assign(state, name.value, value)
|
||||
|
|
Loading…
Reference in New Issue