aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-22 08:22:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-22 08:22:05 +0000
commit155de4c2b124ca87e05df3435003e9587a144c49 (patch)
tree894eec33ae1b08d14f17668468153b70331da671 /compile.c
parentdf93a07990373ff1595ebc93961c0e10301b2f5e (diff)
downloadruby-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 771361dd56..445b9d5a59 100644
--- a/compile.c
+++ b/compile.c
@@ -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;