From: Gabe Black Date: Wed, 4 Apr 2007 23:19:32 +0000 (+0000) Subject: Fix a regular expression problem when recognizing labels for string substitution. X-Git-Tag: m5_2.0_beta3~45^2~1^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab2bed349b356b4784e1a6c8fdf6f4a86e27f543;p=gem5.git Fix a regular expression problem when recognizing labels for string substitution. --HG-- extra : convert_revision : ba398e1b434efda28882f159d5a4419302276371 --- diff --git a/src/arch/isa_parser.py b/src/arch/isa_parser.py index 0cb7bfc56..4c8d0706d 100755 --- a/src/arch/isa_parser.py +++ b/src/arch/isa_parser.py @@ -1032,7 +1032,7 @@ def substBitOps(code): # Template objects are format strings that allow substitution from # the attribute spaces of other objects (e.g. InstObjParams instances). -labelRE = re.compile(r'[^%]%\(([^\)]+)\)[sd]') +labelRE = re.compile(r'(?