]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
DynASM/x86: Add missing escape in pattern.
authorMike Pall <mike>
Tue, 8 Jun 2021 20:34:22 +0000 (22:34 +0200)
committerMike Pall <mike>
Tue, 8 Jun 2021 20:34:22 +0000 (22:34 +0200)
dynasm/dasm_x86.lua

index c08e980a56613c2ef938d0c987c20e2b8efb771a..c37d6a405896d7d6969327c8cae0365d9669b1b2 100644 (file)
@@ -739,7 +739,7 @@ local function parseoperand(param)
       if t.disp then break end
 
       -- [reg+xreg...]
-      local xreg, tailx = match(tailr, "^+%s*([@%w_:]+)%s*(.*)$")
+      local xreg, tailx = match(tailr, "^%+%s*([@%w_:]+)%s*(.*)$")
       xreg, t.xreg, tp = rtexpr(xreg)
       if not t.xreg then
        -- [reg+-expr]