From 3f2e4ec69946fa2c37b6a571948ee0909f6ddbea Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 3 Dec 2014 14:09:17 +0100 Subject: DynASM/ARM: Fix description shown for multi-element templates. --- dynasm/dasm_arm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dynasm') diff --git a/dynasm/dasm_arm.lua b/dynasm/dasm_arm.lua index b3a8827e..3aa8dead 100644 --- a/dynasm/dasm_arm.lua +++ b/dynasm/dasm_arm.lua @@ -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. -- cgit v1.2.1