summaryrefslogtreecommitdiff
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
commita05ef8460a0687eb8e2b08722963aac1e0fdad48 (patch)
tree894eec33ae1b08d14f17668468153b70331da671
parent7dc4929214e608f52774cd026ea8cc173e49e6d1 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 771361d..445b9d5 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;