diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-04 13:59:34 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-04 13:59:34 +0000 |
commit | 6d022ae147c8b226e9b41a446cd254871cb64719 (patch) | |
tree | 55fe45819a9925f32e670215b8302674b12faf4a /compile.c | |
parent | fe9bff4319b39369cb951adf17c101e6cea745ef (diff) | |
download | ruby-6d022ae147c8b226e9b41a446cd254871cb64719.tar.gz |
compile.c (setup_args): Fix a typo
* compile.c (setup_args): In this function,
an argument of nd_line is argn except this line.
And argn is a pointer of NODE. So I think this
is a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4227,7 +4227,7 @@ setup_args(rb_iseq_t *iseq, LINK_ANCHOR *const args, const NODE *argn, if (nsplat > 1) { int i; for (i=1; i<nsplat; i++) { - ADD_INSN(args_splat, nd_line(RNODE(args)), concatarray); + ADD_INSN(args_splat, nd_line(argn), concatarray); } } |