aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-06-22 12:55:58 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-06-22 12:55:58 +0530
commit18d0d7f3f62216898c76a7404f16743f4086726d (patch)
tree0299c1dbf530b163b855703ad5cacc43e6316fa2 /include/lexer.h
parent751068c825d4eef93aab6f8c708fe0f64cf27323 (diff)
(engine): maintain a list of content headers
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lexer.h b/include/lexer.h
index 88ed4df..2a03cec 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -16,7 +16,8 @@ typedef struct {
typedef struct {
char *key;
char *content;
-} contentfor_operands_t;
+ unsigned int length;
+} contentfor_operand_t;
directive_t *find_directive(char *content, key_match_t *match);
key_match_t *find_next_key(char *buffer);