mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Remove st_functions_t
This commit is contained in:
parent
e02c7a7340
commit
3443e43b62
Notes:
git
2023-06-24 10:17:56 +00:00
5 changed files with 26 additions and 38 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue