summaryrefslogtreecommitdiffhomepage
path: root/types.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-05-25 19:58:05 +0200
committerJo-Philipp Wich <jo@mein.io>2021-05-25 22:21:25 +0200
commit9874562545d93582a75bc2e6d58fc772e981a3ba (patch)
tree02084ca6771d425cef509d0a5504a5591dcdb7fd /types.h
parent3b665c84d70885a976179f01ce12626255cb5e52 (diff)
lexer: implement raw code mode
Enabling raw code mode allows writing ucode scripts without any template tag decorations (that is, without the need to provide an initial opening '{%' tag). Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'types.h')
-rw-r--r--types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.h b/types.h
index 3aaf8bc..a4377ad 100644
--- a/types.h
+++ b/types.h
@@ -205,6 +205,7 @@ typedef struct {
bool lstrip_blocks;
bool trim_blocks;
bool strict_declarations;
+ bool raw_mode;
} uc_parse_config;