From 9874562545d93582a75bc2e6d58fc772e981a3ba Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 25 May 2021 19:58:05 +0200 Subject: 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 --- types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'types.h') 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; -- cgit v1.2.3