lib/furnace/ast/visitor.rb in furnace-0.2.5 vs lib/furnace/ast/visitor.rb in furnace-0.2.6
- old
+ new
@@ -27,11 +27,9 @@
node.children.replace new_children
end
node.children.delete_if do |child|
if child.is_a? Node
- child.parent = node
-
child.type == :remove
end
end
# Invoke a specific handler
\ No newline at end of file