Re: Syck CVS (was Re: [bug] [yaml] YAML.load([1,2,3].to_yaml.to_yaml))

From: ts <decoux@...>
Date: 2004-05-23 16:10:35 UTC
List: ruby-core #2931
>>>>> "w" == why the lucky stiff <ruby-core@whytheluckystiff.net> writes:

w> It's okay to set parser->root to zero, then?  When rb_gc_mark gets
w> called and parser->root is 0 (Qnil), it will ignore that node, right?

 yes,

 use S_MEMZERO() after S_ALLOC() in syck_new_parser()


Guy Decoux





In This Thread

Prev Next