summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-07-14 09:06:24 +0800
committerAdrian Thurston <thurston@colm.net>2018-07-14 09:06:24 +0800
commitf895ce3b72cdc737abcf1ef381811405cfe9ce5a (patch)
tree2311185a894de588dde139172a9521f306a37828 /src
parent69ffcfde63f9c61b5bd8f2b04f475cafd2e6a07d (diff)
downloadcolm-f895ce3b72cdc737abcf1ef381811405cfe9ce5a.tar.gz
removed the buffers from structs, not needed anymore
These where there to allow for structs to be treated like trees during the split, without crashing, but likely resulting in an unstable system. Served their purpose, now gone.
Diffstat (limited to 'src')
-rw-r--r--src/struct.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/struct.h b/src/struct.h
index 42710edb..13f78c40 100644
--- a/src/struct.h
+++ b/src/struct.h
@@ -51,8 +51,6 @@ typedef struct colm_parser
struct colm_struct *prev, *next;
colm_destructor_t destructor;
- void *buffer[10];
-
struct pda_run *pda_run;
struct colm_input *input;
tree_t *result;
@@ -65,9 +63,6 @@ typedef struct colm_input
struct colm_struct *prev, *next;
colm_destructor_t destructor;
- /* Transitional, needed during ref semantics impl. */
- void *buffer[8];
-
struct input_impl *impl;
} input_t;
@@ -78,9 +73,6 @@ typedef struct colm_stream
struct colm_struct *prev, *next;
colm_destructor_t destructor;
- /* Transitional, needed during ref semantics impl. */
- void *buffer[8];
-
struct stream_impl *impl;
} stream_t;
@@ -98,9 +90,6 @@ typedef struct colm_list
struct colm_struct *prev, *next;
colm_destructor_t destructor;
- /* Transitional, needed during ref semantics impl. */
- void *buffer[8];
-
list_el_t *head, *tail;
long list_len;
struct generic_info *generic_info;
@@ -124,9 +113,6 @@ typedef struct colm_map
struct colm_struct *prev, *next;
colm_destructor_t destructor;
- /* Transitional, needed during ref semantics impl. */
- void *buffer[8];
-
struct colm_map_el *head, *tail, *root;
long tree_size;
struct generic_info *generic_info;