diff options
author | Peter Zhu <[email protected]> | 2024-02-22 16:30:59 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-02-23 13:33:46 -0500 |
commit | 01f9b2ae4142f0c0d3d2dec9ea141572265d05b2 (patch) | |
tree | d73b1532f079e0b2df5c38f28f1f94ae6c288d1a /ruby_parser.c | |
parent | 9a09e27a73898221656f9bd67a2edf1dc0475d60 (diff) |
Use rb_str_to_interned_str in parse.y
This commit changes rb_fstring to rb_str_to_interned_str in parse.y.
rb_fstring is private so it shouldn't be used by ripper.
Diffstat (limited to 'ruby_parser.c')
-rw-r--r-- | ruby_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby_parser.c b/ruby_parser.c index c4b4ffc1a3..8e2371fd1d 100644 --- a/ruby_parser.c +++ b/ruby_parser.c @@ -533,7 +533,7 @@ static const rb_parser_config_t rb_global_parser_config = { .str_resize = rb_str_resize, .str_new = rb_str_new, .str_new_cstr = rb_str_new_cstr, - .fstring = rb_fstring, + .str_to_interned_str = rb_str_to_interned_str, .is_ascii_string = is_ascii_string2, .enc_str_new = enc_str_new, .enc_str_buf_cat = enc_str_buf_cat, |