From f0926b394144cbf11bcdfe65892624b1f4e0cc72 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sat, 25 May 2019 21:13:16 -0400 Subject: support _IN_ _EX_ indentation in string accumulators --- src/input.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/input.h') diff --git a/src/input.h b/src/input.h index 285ba6a1..f116561f 100644 --- a/src/input.h +++ b/src/input.h @@ -24,6 +24,7 @@ #define _COLM_INPUT_H #include +#include "colm.h" #ifdef __cplusplus extern "C" { @@ -194,9 +195,7 @@ struct stream_impl_data int consumed; - /* Indentation. */ - int level; - int indent; + struct indent_impl indent; int *line_len; int lines_alloc; -- cgit v1.2.1