Adjust showtree() calls

This commit is contained in:
rocky
2018-05-13 14:23:52 -04:00
parent 4c74bf1d9d
commit 189605ea2c
3 changed files with 3 additions and 4 deletions

View File

@@ -1103,7 +1103,7 @@ class FragmentsWalker(pysource.SourceWalker, object):
self.p.insts = p_insts
except (parser.ParserError, AssertionError) as e:
raise ParserError(e, tokens)
maybe_show_tree(self.showast, ast)
maybe_show_tree(self, ast)
return ast
# The bytecode for the end of the main routine has a
@@ -1142,7 +1142,7 @@ class FragmentsWalker(pysource.SourceWalker, object):
except (parser.ParserError, AssertionError) as e:
raise ParserError(e, tokens)
maybe_show_tree(self.showast, ast)
maybe_show_tree(self, ast)
checker(ast, False, self.ast_errors)