diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-20 13:22:59 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-20 13:22:59 +0000 |
commit | cc3a7df13ba3e7329f20c9fd48b488d8b3329416 (patch) | |
tree | 6634dd175cb9c395ca1e5902c299cf2d1f0f9bd9 /iseq.c | |
parent | 26879c174286627c08a9c7440674922dd25ec16a (diff) |
merges r29630 from trunk into ruby_1_9_2.
--
* 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/branches/ruby_1_9_2@30264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -579,7 +579,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); |