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 | a05ef8460a0687eb8e2b08722963aac1e0fdad48 (patch) | |
tree | 894eec33ae1b08d14f17668468153b70331da671 | |
parent | 7dc4929214e608f52774cd026ea8cc173e49e6d1 (diff) | |
download | ruby-a05ef8460a0687eb8e2b08722963aac1e0fdad48.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
-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; |