aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lexer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lexer.c b/src/lexer.c
index 0adfb77..4a4c195 100644
--- a/src/lexer.c
+++ b/src/lexer.c
@@ -221,6 +221,9 @@ found_start:
} else if (DIRECTIVE_IS("endcontent")) {
directive->type = ENDCONTENT;
directive->operands = NULL;
+ } else if (DIRECTIVE_IS("endfor")) {
+ directive->type = ENDFOR;
+ directive->operands = NULL;
} else if (DIRECTIVE_IS("body")) {
directive->type = BODY;
directive->operands = NULL;