Fix the operand type tag parser to recognize multi character register names.
--HG-- extra : convert_revision : e025620e29f2515d51240e96c4a05a4f74bdf72e
This commit is contained in:
parent
715efab3b9
commit
5fd567425d
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ let {{
|
|||
|
||||
let {{
|
||||
class OpType(object):
|
||||
parser = re.compile(r"(?P<tag>[A-Z][A-Z]*)(?P<size>[a-z][a-z]*)|(r(?P<reg>[A-Z0-9])(?P<rsize>[a-z]*))")
|
||||
parser = re.compile(r"(?P<tag>[A-Z][A-Z]*)(?P<size>[a-z][a-z]*)|(r(?P<reg>[A-Z0-9]*)(?P<rsize>[a-z]*))")
|
||||
def __init__(self, opTypeString):
|
||||
match = OpType.parser.search(opTypeString)
|
||||
if match == None:
|
||||
|
|
Loading…
Reference in a new issue