Reverting the changes, as its breaking the build

The above expression works on CLI, but its failing here, not sure whats going wrong , Please let me know your comments on it
This commit is contained in:
niravthakkar 2017-01-04 18:15:57 +05:30 committed by GitHub
parent b92584b497
commit 7aae451d93

View File

@ -330,10 +330,10 @@ local function split_memop(arg)
return 0, parse_reg(x), parse_reg(b) return 0, parse_reg(x), parse_reg(b)
end end
-- Assuming that only displacement is passed, as either digit or label "45 or label1" -- Assuming that only displacement is passed, as either digit or label "45 or label1"
local d = match(arg,"[%w_]+") -- local d = match(arg,"[%w_]+")
if d then -- if d then
return d, 0, 0 -- return d, 0, 0
end -- end
local reg, tailr = match(arg, "^([%w_:]+)%s*(.*)$") local reg, tailr = match(arg, "^([%w_:]+)%s*(.*)$")
if reg then if reg then
local r, tp = parse_reg(reg) local r, tp = parse_reg(reg)