ruby-changes:8130
From: mame <ko1@a...>
Date: Wed, 1 Oct 2008 22:58:16 +0900 (JST)
Subject: [ruby-changes:8130] Ruby:r19658 (trunk): * lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when
mame 2008-10-01 22:55:08 +0900 (Wed, 01 Oct 2008) New Revision: 19658 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19658 Log: * lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when clauses. Modified files: trunk/ChangeLog trunk/lib/debug.rb trunk/lib/rexml/parsers/lightparser.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 19657) +++ ChangeLog (revision 19658) @@ -1,3 +1,8 @@ +Wed Oct 1 22:54:09 2008 Yusuke Endoh <mame@t...> + + * lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when + clauses. + Wed Oct 1 22:43:59 2008 Yusuke Endoh <mame@t...> * lib/xmlrpc, lib/rexml, test/ruby/test_array.rb, Index: lib/rexml/parsers/lightparser.rb =================================================================== --- lib/rexml/parsers/lightparser.rb (revision 19657) +++ lib/rexml/parsers/lightparser.rb (revision 19658) @@ -26,8 +26,6 @@ case event[0] when :end_document break - when :end_doctype - context = context[1] when :start_element, :start_doctype new_node = event context << new_node Index: lib/debug.rb =================================================================== --- lib/debug.rb (revision 19657) +++ lib/debug.rb (revision 19658) @@ -711,9 +711,6 @@ end @frames.shift - when 'end' - @frames.shift - when 'raise' excn_handle(file, line, id, binding) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/