mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove uneeded Universal Parser properties
This commit is contained in:
parent
2a4b6ed37c
commit
fba647087b
3 changed files with 0 additions and 34 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue