[ruby-cvs:51985] nobu:r44840 (trunk): pack.c: hide associated objects

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Feb 5 20:56:36 JST 2014


nobu	2014-02-05 20:56:35 +0900 (Wed, 05 Feb 2014)

  New Revision: 44840

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44840

  Log:
    pack.c: hide associated objects
    
    * marshal.c (to_be_skipped_id): ignore anonymous attributes.
    * pack.c (Init_pack): use anonymous ID so that associated objects
      do not appear in the packed result.
    * parse.y (rb_make_internal_id): return an anonymous ID for
      internal use.

  Modified files:
    trunk/ChangeLog
    trunk/internal.h
    trunk/marshal.c
    trunk/pack.c
    trunk/parse.y
    trunk/test/ruby/test_marshal.rb


More information about the ruby-cvs mailing list