summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-05 23:36:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-05 23:36:44 +0000
commitc8921b5ef07c3193d7b9ad6c329b8ade8bef8460 (patch)
tree7baad5e78ba154987fcffaa2d7522683385751fb /compile.c
parente926245be2f1d71ec1053ee3c509e53c14bb0b58 (diff)
compile.c: variable type
* compile.c (iseq_compile_each): fix variable type, use VALUE for Symbol. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=57772&view=revision git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57783 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 e295f2eddb..f1ba0946b3 100644
--- a/compile.c
+++ b/compile.c
@@ -5268,7 +5268,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *const ret, NODE *node, int poppe
LABEL *label;
st_data_t data;
st_table *labels_table = ISEQ_COMPILE_DATA(iseq)->labels_table;
- ID label_name;
+ VALUE label_name;
if (!labels_table) {
labels_table = st_init_numtable();