>>>>> "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