diff options
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4597,7 +4597,7 @@ debug_lines(VALUE f) VALUE hash = rb_const_get_at(rb_cObject, rb_intern("SCRIPT_LINES__")); if (TYPE(hash) == T_HASH) { VALUE fname = rb_str_new2((const char *)f); - VALUE lines = rb_hash_aref(hash, fname); + VALUE lines = rb_hash_lookup(hash, fname); if (NIL_P(lines)) { lines = rb_ary_new(); rb_hash_aset(hash, fname, lines); |