summaryrefslogtreecommitdiff
path: root/src/input.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/input.h
parente52169ed10b0bf0011c2471e1fa7644971d0c7ac (diff)
downloadcolm-f0926b394144cbf11bcdfe65892624b1f4e0cc72.tar.gz
support _IN_ _EX_ indentation in string accumulators
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h5
1 files changed, 2 insertions, 3 deletions
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 <stdio.h>
+#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;