Commit fc08e8bf authored by Stefan Behnel's avatar Stefan Behnel

fix PrintTree() debug helper for compiled Cython

parent 5753075c
...@@ -519,7 +519,7 @@ class PrintTree(TreeVisitor): ...@@ -519,7 +519,7 @@ class PrintTree(TreeVisitor):
def __call__(self, tree, phase=None): def __call__(self, tree, phase=None):
print("Parse tree dump at phase '%s'" % phase) print("Parse tree dump at phase '%s'" % phase)
self._visit(tree) self.visit(tree)
return tree return tree
# Don't do anything about process_list, the defaults gives # Don't do anything about process_list, the defaults gives
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment