Skip to content

Commit

Permalink
Change simplify_tree to not unpack lists
Browse files Browse the repository at this point in the history
  • Loading branch information
hermansje committed Feb 25, 2019
1 parent 13c016f commit c214a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antlr_ast/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def process_tree(antlr_tree, Transformer=None, simplify=True):
if Transformer is not None:
tree = AliasVisitor(Transformer()).visit(tree)
if simplify:
tree = simplify_tree(tree)
tree = simplify_tree(tree, unpack_lists=False)
return tree


Expand Down

0 comments on commit c214a98

Please sign in to comment.