2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 69c8be53 authored by di68kap's avatar di68kap
Browse files

- sync commit

parent 8c6c408e
...@@ -293,7 +293,7 @@ def traverse(root_node: Node, ...@@ -293,7 +293,7 @@ def traverse(root_node: Node,
node = context[-1] node = context[-1]
if node.children: if node.children:
context.append(ZOMBIE_NODE) context.append(ZOMBIE_NODE)
for child in node.result: for child in node.children:
context[-1] = child context[-1] = child
traverse_recursive(context) # depth first traverse_recursive(context) # depth first
context.pop() context.pop()
......
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