From: Richard Henderson Date: Fri, 26 May 2023 01:45:43 +0000 (-0700) Subject: decodetree: Fix recursion in prop_format and build_tree X-Git-Tag: v8.1.0-rc0~85^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd2eb5a247e641adc36a67318a791b417afea46;p=thirdparty%2Fqemu.git decodetree: Fix recursion in prop_format and build_tree Two copy-paste errors walking the parse tree. Signed-off-by: Richard Henderson --- diff --git a/scripts/decodetree.py b/scripts/decodetree.py index 3f9f6876f74..e2640cc79b9 100644 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -474,7 +474,7 @@ class MultiPattern(General): def prop_format(self): for p in self.pats: - p.build_tree() + p.prop_format() def prop_width(self): width = None @@ -624,7 +624,7 @@ class ExcMultiPattern(MultiPattern): return t def build_tree(self): - super().prop_format() + super().build_tree() self.tree = self.__build_tree(self.pats, self.fixedbits, self.fixedmask)