Remove reference counter from rb_parser_config

It's allocated outside of parser then no need to track
reference count in rb_parser_config.
This commit is contained in:
yui-knk 2024-01-12 07:38:02 +09:00 committed by Yuichiro Kaneko
parent 52d9e55903
commit b35e21b388
4 changed files with 0 additions and 12 deletions

1
node.c
View file

@ -321,7 +321,6 @@ rb_ast_t *
rb_ast_new(rb_parser_config_t *config)
{
node_buffer_t *nb = rb_node_buffer_new(config);
config->counter++;
return config->ast_new((VALUE)nb);
}
#else