summaryrefslogtreecommitdiff
path: root/lib/rexml/parsers/lightparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/parsers/lightparser.rb')
-rw-r--r--lib/rexml/parsers/lightparser.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rexml/parsers/lightparser.rb b/lib/rexml/parsers/lightparser.rb
index 6993aba254..ca9692c449 100644
--- a/lib/rexml/parsers/lightparser.rb
+++ b/lib/rexml/parsers/lightparser.rb
@@ -26,8 +26,6 @@ module REXML
case event[0]
when :end_document
break
- when :end_doctype
- context = context[1]
when :start_element, :start_doctype
new_node = event
context << new_node