summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-29 15:36:33 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-29 15:36:33 +0000
commit340bb04efe438e10a972c3d159451636b69ead1e (patch)
tree33ce0e3e0a1540ef73cb51260b618e3f28d99139 /iseq.c
parent031488962744356a1c1531d3d8f19ff19f4b3120 (diff)
* iseq.c (iseq_s_compile): fix optional argument.
a patch from Yutaka HARA [ruby-core:32953] [Ruby 1.9-Bug#4001] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29630 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 2a056ae0c1..327de57361 100644
--- a/iseq.c
+++ b/iseq.c
@@ -581,7 +581,7 @@ iseq_s_compile(int argc, VALUE *argv, VALUE self)
rb_secure(1);
- rb_scan_args(argc, argv, "13", &src, &file, &path, &line, &opt);
+ rb_scan_args(argc, argv, "14", &src, &file, &path, &line, &opt);
if (NIL_P(file)) file = rb_str_new2("<compiled>");
if (NIL_P(line)) line = INT2FIX(1);