diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/rexml/xpath_parser.rb | 20 |
2 files changed, 14 insertions, 10 deletions
@@ -1,3 +1,7 @@ +Sat Feb 22 23:17:01 2014 Kouhei Sutou <kou@cozmixng.org> + + * lib/rexml/xpath_parser.rb: Fix indent. + Sat Feb 22 23:15:35 2014 Kouhei Sutou <kou@cozmixng.org> * test/rexml/xpath/test_attribute.rb: Simplify. diff --git a/lib/rexml/xpath_parser.rb b/lib/rexml/xpath_parser.rb index 0fc9da2e08..367cbee1e8 100644 --- a/lib/rexml/xpath_parser.rb +++ b/lib/rexml/xpath_parser.rb @@ -63,19 +63,19 @@ module REXML end def parse path, nodeset - #puts "#"*40 - path_stack = @parser.parse( path ) - #puts "PARSE: #{path} => #{path_stack.inspect}" - #puts "PARSE: nodeset = #{nodeset.inspect}" - match( path_stack, nodeset ) + #puts "#"*40 + path_stack = @parser.parse( path ) + #puts "PARSE: #{path} => #{path_stack.inspect}" + #puts "PARSE: nodeset = #{nodeset.inspect}" + match( path_stack, nodeset ) end def get_first path, nodeset - #puts "#"*40 - path_stack = @parser.parse( path ) - #puts "PARSE: #{path} => #{path_stack.inspect}" - #puts "PARSE: nodeset = #{nodeset.inspect}" - first( path_stack, nodeset ) + #puts "#"*40 + path_stack = @parser.parse( path ) + #puts "PARSE: #{path} => #{path_stack.inspect}" + #puts "PARSE: nodeset = #{nodeset.inspect}" + first( path_stack, nodeset ) end def predicate path, nodeset |