summaryrefslogtreecommitdiff
path: root/src/tree.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-05-25 21:13:16 -0400
committerAdrian Thurston <thurston@colm.net>2019-05-25 21:13:16 -0400
commitf0926b394144cbf11bcdfe65892624b1f4e0cc72 (patch)
tree6f016104709671cec1d71206318fbdaf955bb461 /src/tree.h
parente52169ed10b0bf0011c2471e1fa7644971d0c7ac (diff)
downloadcolm-f0926b394144cbf11bcdfe65892624b1f4e0cc72.tar.gz
support _IN_ _EX_ indentation in string accumulators
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tree.h b/src/tree.h
index ee05cdc3..fefb6b20 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -300,6 +300,7 @@ typedef struct colm_str_collect
char *data;
int allocated;
int length;
+ struct indent_impl indent;
} str_collect_t;
void init_str_collect( str_collect_t *collect );
@@ -315,9 +316,9 @@ void colm_print_tree_collect_a( struct colm_program *prg, tree_t **sp,
str_collect_t *collect, tree_t *tree, int trim );
void colm_print_tree_file( struct colm_program *prg, tree_t **sp,
- struct stream_impl *impl, tree_t *tree, int trim );
+ struct stream_impl_data *impl, tree_t *tree, int trim );
void colm_print_xml_stdout( struct colm_program *prg, tree_t **sp,
- struct stream_impl *impl, tree_t *tree, int comm_attr, int trim );
+ struct stream_impl_data *impl, tree_t *tree, int comm_attr, int trim );
void colm_postfix_tree_collect( struct colm_program *prg, tree_t **sp,
str_collect_t *collect, tree_t *tree, int trim );