diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2014-11-08 23:47:30 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2014-11-08 23:47:30 -0700 |
| commit | c6cdbe7fbfd138a8a603aa3976f2a32fe6294087 (patch) | |
| tree | b2f89125e52dbd3a572e26f24e3d5338ce75a02e | |
| parent | dfcfcd5c3b62cbc578e7c0019aff617c31403212 (diff) | |
fix warnings
| -rw-r--r-- | lib/asciidoctor/abstract_node.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asciidoctor/abstract_node.rb b/lib/asciidoctor/abstract_node.rb index 2e7d5f48..b2f8bd22 100644 --- a/lib/asciidoctor/abstract_node.rb +++ b/lib/asciidoctor/abstract_node.rb @@ -32,6 +32,9 @@ class AbstractNode if parent @parent = parent @document = parent.document + else + @parent = nil + @document = nil end end @context = context |
