mirror of
https://github.com/g012/l65.git
synced 2025-01-01 06:30:16 +00:00
Fixed byte(string) bug introduced with last commit.
This commit is contained in:
parent
a069b21c91
commit
63cdd88f21
2
6502.lua
2
6502.lua
@ -407,7 +407,7 @@ M.byte_impl = function(args, nrm)
|
||||
local data,cs = {},M.cs
|
||||
for k,v in ipairs(args) do
|
||||
local t = type(v)
|
||||
if t == 'number' or t == 'function' or t == 'string' then data[#data+1] = v
|
||||
if t == 'number' or t == 'function' then data[#data+1] = v
|
||||
elseif t == 'table' then table.move(v,1,#v,#data+1,data)
|
||||
elseif t == 'string' then
|
||||
if cs then
|
||||
|
Loading…
Reference in New Issue
Block a user