X-Git-Url: http://nitlanguage.org diff --git a/src/parser/xss/nodes.xss b/src/parser/xss/nodes.xss index a62df55..e5eb9da 100644 --- a/src/parser/xss/nodes.xss +++ b/src/parser/xss/nodes.xss @@ -54,7 +54,7 @@ redef class PNode # Replace itself with an other node in the AST fun replace_with(node: PNode) do - if (_parent != null) then + if _parent != null then _parent.replace_child(self, node) end end