Better assembly formatting of jump instructions

This commit is contained in:
rocky
2016-07-25 00:36:39 -04:00
parent aed4d23c34
commit 285444e19a
6 changed files with 47 additions and 31 deletions

View File

@@ -284,10 +284,12 @@ class Scanner26(scan.Scanner2):
if offset not in replace:
tokens.append(Token(
op_name, oparg, pattr, offset, linestart, op, has_arg))
op_name, oparg, pattr, offset, linestart, op,
has_arg, self.opc))
else:
tokens.append(Token(
replace[offset], oparg, pattr, offset, linestart, op, has_arg))
replace[offset], oparg, pattr, offset, linestart, op,
has_arg, self.opc))
pass
pass