DynASM/ARM: Fix description shown for multi-element templates.

This commit is contained in:
Mike Pall 2014-12-03 14:09:17 +01:00
parent c75c62b489
commit 3f2e4ec699

View File

@ -923,7 +923,7 @@ local function parse_template(params, template, nparams, pos)
end
map_op[".template__"] = function(params, template, nparams)
if not params then return sub(template, 9) end
if not params then return template:gsub("%x%x%x%x%x%x%x%x", "") end
-- Limit number of section buffer positions used by a single dasm_put().
-- A single opcode needs a maximum of 3 positions.