Minor indentation fixes.

This commit is contained in:
Michael Munday 2016-12-02 15:36:19 -05:00
parent 9745e9df26
commit d7f7509894

View File

@ -290,7 +290,7 @@ local function is_int20(num)
end end
local function is_int32(num) local function is_int32(num)
return -2147483648 <= num and num < 2147483648 return -2147483648 <= num and num < 2147483648
end end
-- Split a memory operand of the form d(b) or d(x,b) into d, x and b. -- Split a memory operand of the form d(b) or d(x,b) into d, x and b.
@ -371,11 +371,11 @@ local function parse_mem_by(arg)
end end
local function parse_imm(arg) local function parse_imm(arg)
local imm_val = tonumber(arg,16) local imm_val = tonumber(arg,16)
if not is_int32(imm_val) then if not is_int32(imm_val) then
werror("Immediate value out of range: ", imm_val) werror("Immediate value out of range: ", imm_val)
end end
return imm_val return imm_val
end end
local function parse_label(label, def) local function parse_label(label, def)