diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-06-16 22:14:50 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-06-24 19:17:37 +0900 |
commit | 3443e43b625f4ba1821a101df9cdfd88347fbe6c (patch) | |
tree | f6cb31c7ce203ae424c4eb7648544da1f67b043d /universal_parser.c | |
parent | e02c7a7340f293ff4d6d6fc799bca485a257836e (diff) |
Remove `st_functions_t`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7956
Diffstat (limited to 'universal_parser.c')
-rw-r--r-- | universal_parser.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/universal_parser.c b/universal_parser.c index 9e4260f05d..8599c3b947 100644 --- a/universal_parser.c +++ b/universal_parser.c @@ -48,7 +48,7 @@ #define ST_CHECK ST2_CHECK #define ST_REPLACE ST2_REPLACE #undef st_init_numtable -#define st_init_numtable() rb_parser_st_init_numtable((&p->config->st_functions)) +#define st_init_numtable rb_parser_st_init_numtable #undef st_free_table #define st_free_table rb_parser_st_free_table #undef st_init_table_with_size @@ -393,8 +393,7 @@ struct rb_imemo_tmpbuf_struct { #define rb_node_case_when_optimizable_literal p->config->node_case_when_optimizable_literal #undef st_init_table_with_size -#define st_init_table_with_size(type, size) \ - rb_parser_st_init_table_with_size(type, &p->config->st_functions, size) +#define st_init_table_with_size rb_parser_st_init_table_with_size #define rb_ast_new() \ rb_ast_new(p->config) |