Skip to content
Snippets Groups Projects
Commit 2fd2eb5a authored by Richard Henderson's avatar Richard Henderson
Browse files

decodetree: Fix recursion in prop_format and build_tree


Two copy-paste errors walking the parse tree.

Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 9b5acc56
No related branches found
No related tags found
No related merge requests found
......@@ -474,7 +474,7 @@ def build_tree(self):
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 @@ def __build_tree(pats, outerbits, outermask):
return t
def build_tree(self):
super().prop_format()
super().build_tree()
self.tree = self.__build_tree(self.pats, self.fixedbits,
self.fixedmask)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment