diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-05-25 18:45:43 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-30 10:55:39 -0700 |
commit | 2fd2eb5a247e641adc36a67318a791b417afea46 (patch) | |
tree | 80040b566047586937f314b3d61af7d737b87193 /scripts | |
parent | 9b5acc563367149c27bc7a4b464f98bf06eeb59a (diff) | |
download | qemu-2fd2eb5a247e641adc36a67318a791b417afea46.zip qemu-2fd2eb5a247e641adc36a67318a791b417afea46.tar.gz qemu-2fd2eb5a247e641adc36a67318a791b417afea46.tar.bz2 |
decodetree: Fix recursion in prop_format and build_tree
Two copy-paste errors walking the parse tree.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/decodetree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/decodetree.py b/scripts/decodetree.py index 3f9f687..e2640cc 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) |