diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-27 16:11:32 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-27 16:11:32 +0530 |
commit | a363a4995f834e08b7f5f35a7db76d37bf67b935 (patch) | |
tree | a4b682a046c508db9c24fd57eabb0e531b8f8067 /src | |
parent | 46b993076d86d3e600dc1ba49f6f00d7fc148da3 (diff) |
lexer: handle endfor
Diffstat (limited to 'src')
-rw-r--r-- | src/lexer.c | 3 |
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; |