diff options
author | S-H-GAMELINKS <gamelinks007@gmail.com> | 2024-02-04 09:05:33 +0900 |
---|---|---|
committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2024-02-20 19:02:24 +0900 |
commit | fba647087b1d61a890537cf9294e4d2074f7572b (patch) | |
tree | 0224496a4f21d365872e80e7c74c4f28a348160a /ruby_parser.c | |
parent | 2a4b6ed37cbb7acb622703be4db770457c2b72cc (diff) |
Remove uneeded Universal Parser properties
Diffstat (limited to 'ruby_parser.c')
-rw-r--r-- | ruby_parser.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ruby_parser.c b/ruby_parser.c index 7061f2be5b..74e02996b8 100644 --- a/ruby_parser.c +++ b/ruby_parser.c @@ -358,12 +358,6 @@ syntax_error_new(void) return rb_class_new_instance(0, 0, rb_eSyntaxError); } -static int -obj_frozen(VALUE obj) -{ - return (int)RB_OBJ_FROZEN(obj); -} - static VALUE obj_write(VALUE old, VALUE *slot, VALUE young) { @@ -511,7 +505,6 @@ static const rb_parser_config_t rb_global_parser_config = { .obj_freeze = rb_obj_freeze, .obj_hide = rb_obj_hide, - .obj_frozen = obj_frozen, .type_p = type_p, .obj_freeze_raw = OBJ_FREEZE_RAW, @@ -523,17 +516,13 @@ static const rb_parser_config_t rb_global_parser_config = { .ary_new = rb_ary_new, .ary_push = rb_ary_push, .ary_new_from_args = rb_ary_new_from_args, - .ary_pop = rb_ary_pop, - .ary_last = rb_ary_last, .ary_unshift = rb_ary_unshift, .ary_new2 = rb_ary_new2, - .ary_entry = rb_ary_entry, .ary_clear = rb_ary_clear, .ary_modify = rb_ary_modify, .array_len = rb_array_len, .array_aref = RARRAY_AREF, - .sym_intern_ascii_cstr = rb_sym_intern_ascii_cstr, .make_temporary_id = rb_make_temporary_id, .is_local_id = is_local_id2, .is_attrset_id = is_attrset_id2, @@ -546,7 +535,6 @@ static const rb_parser_config_t rb_global_parser_config = { .intern_str = rb_intern_str, .is_notop_id = is_notop_id2, .enc_symname_type = enc_symname_type, - .str_intern = rb_str_intern, .id2name = rb_id2name, .id2str = rb_id2str, .id2sym = rb_id2sym, @@ -555,7 +543,6 @@ static const rb_parser_config_t rb_global_parser_config = { .str_catf = rb_str_catf, .str_cat_cstr = rb_str_cat_cstr, .str_subseq = rb_str_subseq, - .str_dup = rb_str_dup, .str_new_frozen = rb_str_new_frozen, .str_buf_new = rb_str_buf_new, .str_buf_cat = rb_str_buf_cat, |