summaryrefslogtreecommitdiffhomepage
path: root/ast.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-09-10 18:37:24 +0200
committerJo-Philipp Wich <jo@mein.io>2020-09-10 18:37:24 +0200
commit9ea4368ff1e4842286e0e7a6aec58a2c2c799d5b (patch)
tree47d31fa6d686dd50220edfa505fcc21ce6c860fe /ast.h
parent39164c57d893b02f9a253c661abc2459bcd57e5c (diff)
treewide: implement default lstrip_blocks and trim_blocks behaviour
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index 9840ad4..4c5318c 100644
--- a/ast.h
+++ b/ast.h
@@ -78,6 +78,8 @@ struct ut_state {
uint8_t semicolon_emitted:1;
uint8_t start_tag_seen:1;
uint8_t srand_called:1;
+ uint8_t trim_blocks:1;
+ uint8_t lstrip_blocks:1;
size_t off;
enum ut_block_type blocktype;
struct {