diff options
author | Adrian Thurston <thurston@colm.net> | 2018-06-25 17:46:09 +0700 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-06-25 17:46:09 +0700 |
commit | 91b3a371209af25225b715778accec0079126efe (patch) | |
tree | 5ce1216a62e5577143b80a8b15b6fa0d13445018 /src/input.h | |
parent | ff92e05d3ce12f66b09c40303e6dec8588e55c73 (diff) | |
download | colm-91b3a371209af25225b715778accec0079126efe.tar.gz |
only need the type in the seq_buf and it doesn't need 'data'
Diffstat (limited to 'src/input.h')
-rw-r--r-- | src/input.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/input.h b/src/input.h index a4996ca8..9f49b2d2 100644 --- a/src/input.h +++ b/src/input.h @@ -52,16 +52,15 @@ struct colm_stream; struct stream_impl; -enum run_buf_type { - RUN_BUF_DATA_TYPE = 0, - RUN_BUF_TOKEN_TYPE, - RUN_BUF_IGNORE_TYPE, - RUN_BUF_SOURCE_TYPE +enum seq_buf_type { + SEQ_BUF_TOKEN_TYPE = 2, + SEQ_BUF_IGNORE_TYPE, + SEQ_BUF_SOURCE_TYPE }; struct seq_buf { - enum run_buf_type type; + enum seq_buf_type type; struct colm_tree *tree; struct stream_impl *si; struct seq_buf *next, *prev; @@ -69,7 +68,6 @@ struct seq_buf struct run_buf { - enum run_buf_type type; long length; long offset; struct run_buf *next, *prev; |