Merge two node_buffer_list_t fields into one

All types of Node are managed by `node_buffer_list_t unmarkable`
therefore merge them into `node_buffer_list_t buffer_list`.
This commit is contained in:
yui-knk 2024-04-04 23:19:31 +09:00 committed by Yuichiro Kaneko
parent 3a674c9c65
commit fc8fe78c07
2 changed files with 17 additions and 22 deletions

3
node.h
View file

@ -31,8 +31,7 @@ typedef struct {
} node_buffer_list_t;
struct node_buffer_struct {
node_buffer_list_t unmarkable;
node_buffer_list_t markable;
node_buffer_list_t buffer_list;
struct rb_ast_local_table_link *local_tables;
// - id (sequence number)
// - token_type