diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-27 16:40:31 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-27 16:40:31 +0530 |
commit | c0282d19cc7a749b97925cc5d5237ad6b367b675 (patch) | |
tree | 7aacafe822c8344e360eeffd95cd33761816dddb /include/lexer.h | |
parent | a363a4995f834e08b7f5f35a7db76d37bf67b935 (diff) |
lexer: implement handle_for()
Diffstat (limited to 'include/lexer.h')
-rw-r--r-- | include/lexer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/lexer.h b/include/lexer.h index 448d302..b9dbf1c 100644 --- a/include/lexer.h +++ b/include/lexer.h @@ -26,6 +26,7 @@ typedef struct { void *operands; } directive_t; +/* TODO: strlen(content) instead of length? */ typedef struct { char *key; char *content; @@ -56,5 +57,9 @@ void lexer_handle_content(directive_t *directive, key_match_t *match, char *buffer, size_t n); +void lexer_handle_for(directive_t *directive, + key_match_t *match, + char *buffer, + size_t n); #endif |