diff options
author | Kevin Newton <kddnewton@gmail.com> | 2024-02-27 08:31:47 -0500 |
---|---|---|
committer | Kevin Newton <kddnewton@gmail.com> | 2024-02-28 10:58:04 -0500 |
commit | 742abbf7705d69314373c6255784af02bbe72882 (patch) | |
tree | 5a3295d4247cebbc1098cf6287bf57ffd792110c /iseq.c | |
parent | 7b69563b365317fb9c70e4bed996b5871ef7889a (diff) | |
download | ruby-742abbf7705d69314373c6255784af02bbe72882.tar.gz |
Switch {prism: true} to {parser: :prism} in ISeq.to_a
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3380,7 +3380,7 @@ iseq_data_to_ary(const rb_iseq_t *iseq) #ifdef USE_ISEQ_NODE_ID rb_hash_aset(misc, ID2SYM(rb_intern("node_ids")), node_ids); #endif - rb_hash_aset(misc, ID2SYM(rb_intern("prism")), iseq_body->prism ? Qtrue : Qfalse); + rb_hash_aset(misc, ID2SYM(rb_intern("parser")), iseq_body->prism ? ID2SYM(rb_intern("prism")) : ID2SYM(rb_intern("parse.y"))); /* * [:magic, :major_version, :minor_version, :format_type, :misc, |