diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-27 16:11:06 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-27 16:11:06 +0530 |
commit | 46b993076d86d3e600dc1ba49f6f00d7fc148da3 (patch) | |
tree | 16445b91bf3b959e7994f5bd93b1a3794d27b685 /include/lexer.h | |
parent | 581e1f1529b7cc842f5f54a19381041ef3350b7e (diff) |
lexer: add for_operand_t
Diffstat (limited to 'include/lexer.h')
-rw-r--r-- | include/lexer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/lexer.h b/include/lexer.h index 4bcd07f..448d302 100644 --- a/include/lexer.h +++ b/include/lexer.h @@ -32,6 +32,12 @@ typedef struct { unsigned int length; } contentfor_operand_t; +typedef struct { + char *key; + char *source; + char *content; +} for_operand_t; + list_t *lex(char *buffer); directive_t *find_directive(char *content, key_match_t *match); key_match_t *find_next_key(char *buffer, size_t skip); |