summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/debug.rb3
-rw-r--r--lib/rexml/parsers/lightparser.rb2
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/debug.rb b/lib/debug.rb
index 8a2f4f1a12..77be345a07 100644
--- a/lib/debug.rb
+++ b/lib/debug.rb
@@ -711,9 +711,6 @@ EOHELP
end
@frames.shift
- when 'end'
- @frames.shift
-
when 'raise'
excn_handle(file, line, id, binding)
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