turtle/tlang: fix copying error with = builtin

wsc-master-rebase
cron 2020-11-04 03:03:53 +00:00 committed by Schmappie Eldress
parent 0f8dd9c7f3
commit ac9f18f6dd
1 changed files with 1 additions and 1 deletions

View File

@ -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)