Skip to content

Commit

Permalink
DynASM/x86: Add missing escape in pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pall committed Jun 8, 2021
1 parent ec5f6a5 commit 98f95f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynasm/dasm_x86.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 98f95f6

Please sign in to comment.