1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/syck/rubyext.c (rb_syck_mktime): seconds calculated wrong.

* ext/syck/gram.c: flexibility to anchors and transfer methods on
  collections.

* ext/syck/token.c: hex escapes.

* lib/yaml/basenode.rb: YamlNode references changed to YAML::BaseNode.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
why 2003-05-30 23:09:54 +00:00
parent 1ce0018ba1
commit 38df1a90cc
5 changed files with 418 additions and 283 deletions

View file

@ -25,7 +25,7 @@ module YAML
matches.each { |m|
result.push m.last
}
YamlNode.new( 'seq', result )
self.class.new( 'seq', result )
end
end
@ -163,7 +163,7 @@ module YAML
#puts "DEPTH: #{depth + 1}"
deep_nodes = []
match_nodes.each { |n|
if n[1].is_a? YamlNode
if n[1].is_a? BaseNode
match_deep = n[1].match_segment( ypath, depth + 1 )
if match_deep
match_deep.each { |m|