From 5fd567425d9c2624e46dde692d8973ee8008d669 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 13 Jun 2007 18:08:06 +0000 Subject: [PATCH] Fix the operand type tag parser to recognize multi character register names. --HG-- extra : convert_revision : e025620e29f2515d51240e96c4a05a4f74bdf72e --- src/arch/x86/isa/specialize.isa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/isa/specialize.isa b/src/arch/x86/isa/specialize.isa index 8312fcdc5..37f523efc 100644 --- a/src/arch/x86/isa/specialize.isa +++ b/src/arch/x86/isa/specialize.isa @@ -85,7 +85,7 @@ let {{ let {{ class OpType(object): - parser = re.compile(r"(?P[A-Z][A-Z]*)(?P[a-z][a-z]*)|(r(?P[A-Z0-9])(?P[a-z]*))") + parser = re.compile(r"(?P[A-Z][A-Z]*)(?P[a-z][a-z]*)|(r(?P[A-Z0-9]*)(?P[a-z]*))") def __init__(self, opTypeString): match = OpType.parser.search(opTypeString) if match == None: -- 2.30.2