diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-23 02:49:41 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-23 02:49:41 +0000 |
commit | b83ed6d1bd710c0f3397dafbba3b96e1311bcc6a (patch) | |
tree | f9d82b899d00b2771d2a9fdfd7832f0d61d9457a /variable.c | |
parent | 3600c7ef8f00a06e63f312709d4bd01c302ca4f4 (diff) |
* parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h,
object.c, string.c, variable.c, vm_macro.def: revert private
instance variable feature, which is postponed until next major
release.
* marshal.c: TYPE_SYMBOL2 removed; MARSHAL_MINOR reverted back to
8th version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 504e93e0cc..be94d4314e 100644 --- a/variable.c +++ b/variable.c @@ -985,7 +985,7 @@ rb_ivar_defined(VALUE obj, ID id) static int ivar_i(ID key, struct global_entry *entry, VALUE ary) { - if (rb_is_instance_id(key) || rb_is_instance2_id(key)) { + if (rb_is_instance_id(key)) { rb_ary_push(ary, ID2SYM(key)); } return ST_CONTINUE; |