summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 14:05:44 (GMT)
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-08 14:05:44 (GMT)
commit23124ffbe845b9e8bec665159c584f09c7dc4491 (patch)
treefac32223af4c920efe6c257dad8734a1c1b06933 /iseq.c
parent99c89fa56afe59b5755f0028dffa2cb9c9cff9f3 (diff)
* iseq.c (iseq_s_load): fix mysterious bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 061de83..1fd4009 100644
--- a/iseq.c
+++ b/iseq.c
@@ -587,7 +587,7 @@ static VALUE
iseq_s_load(int argc, VALUE *argv, VALUE self)
{
VALUE data, opt=Qnil;
- rb_scan_args(argc, argv, "01", &opt);
+ rb_scan_args(argc, argv, "11", &data, &opt);
return iseq_load(data, NULL, opt);
}