diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-01 13:55:08 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-01 13:55:08 +0000 |
commit | 97d783015d26e2ffe6ff21d08ab74de8bb61ac57 (patch) | |
tree | 13ddc8d73c6ebb940edca707458689ce2f12851e | |
parent | f62b901b4aa66ddbf1e2a2f445c8316f3e8cbc3d (diff) | |
download | ruby-97d783015d26e2ffe6ff21d08ab74de8bb61ac57.tar.gz ruby-97d783015d26e2ffe6ff21d08ab74de8bb61ac57.tar.xz ruby-97d783015d26e2ffe6ff21d08ab74de8bb61ac57.zip |
* lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when
clauses.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/debug.rb | 3 | ||||
-rw-r--r-- | lib/rexml/parsers/lightparser.rb | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -1,3 +1,8 @@ +Wed Oct 1 22:54:09 2008 Yusuke Endoh <mame@tsg.ne.jp> + + * lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when + clauses. + Wed Oct 1 22:43:59 2008 Yusuke Endoh <mame@tsg.ne.jp> * lib/xmlrpc, lib/rexml, test/ruby/test_array.rb, diff --git a/lib/debug.rb b/lib/debug.rb index 8a2f4f1a1..77be345a0 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 6993aba25..ca9692c44 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 |