diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-22 08:22:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-22 08:22:05 +0000 |
commit | 155de4c2b124ca87e05df3435003e9587a144c49 (patch) | |
tree | 894eec33ae1b08d14f17668468153b70331da671 /compile.c | |
parent | df93a07990373ff1595ebc93961c0e10301b2f5e (diff) | |
download | ruby-155de4c2b124ca87e05df3435003e9587a144c49.tar.gz |
compile.c: fix position
* compile.c (iseq_compile_each): vals is NULL here, show the
position of the parent node.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3713,7 +3713,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) } } else { - rb_compile_bug(ERROR_ARGS_AT(vals) "NODE_CASE: must be NODE_ARRAY, but 0"); + rb_compile_bug(ERROR_ARGS "NODE_CASE: must be NODE_ARRAY, but 0"); } node = node->nd_next; |