summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authoryui-knk <[email protected]>2024-04-04 23:19:31 +0900
committerYuichiro Kaneko <[email protected]>2024-04-05 09:19:57 +0900
commitfc8fe78c073eb4a7a531444de103dd89d379bdae (patch)
tree353a7d3614c2aaf879aadd7c9d04c821c0dc8d23 /node.h
parent3a674c9c655288b3e12ac1cff149ba4af08fd452 (diff)
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`.
Diffstat (limited to 'node.h')
-rw-r--r--node.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/node.h b/node.h
index 191887c15b..2cc304125e 100644
--- a/node.h
+++ b/node.h
@@ -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