parse.y: adjust argument types
* parse.y (symbols_i): adjust argument types for st_foreach() using st_data_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
92a04a4915
commit
d299250afa
5
parse.y
5
parse.y
@ -10903,9 +10903,10 @@ rb_make_internal_id(void)
|
||||
}
|
||||
|
||||
static int
|
||||
symbols_i(VALUE key, ID value, VALUE ary)
|
||||
symbols_i(st_data_t key, st_data_t value, st_data_t arg)
|
||||
{
|
||||
VALUE sym = ID2SYM(value);
|
||||
VALUE ary = (VALUE)arg;
|
||||
VALUE sym = ID2SYM((ID)value);
|
||||
|
||||
if (DYNAMIC_SYM_P(sym) && !SYMBOL_PINNED_P(sym) && rb_objspace_garbage_object_p(sym)) {
|
||||
st_data_t sym_data = (st_data_t)sym;
|
||||
|
Loading…
x
Reference in New Issue
Block a user