summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-11 00:36:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-11 00:36:38 +0000
commit91d884b86e3cd51962360eea8db2307c0ad61678 (patch)
tree690072aaad89d58629f353967741bc52142bf408 /marshal.c
parentd1bdb139ea33ba0248c15c62eb4e18ecb491bd12 (diff)
* eval.c (rb_eval): set line number from all nodes.
* eval.c (proc_to_s): show source file/line if available. * marshal.c (r_object): register TYPE_BIGNUM regardless real type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/marshal.c b/marshal.c
index 24eacc4..9bed429 100644
--- a/marshal.c
+++ b/marshal.c
@@ -922,9 +922,7 @@ r_object(arg)
#endif
}
v = rb_big_norm((VALUE)big);
- if (TYPE(v) == T_BIGNUM) {
- r_regist(v, arg);
- }
+ r_regist(v, arg);
}
break;