aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/lexer.h b/include/lexer.h
index 7d9a955..d62b0d3 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -39,12 +39,7 @@ typedef struct {
char *content;
} eachdo_operands_t;
-typedef struct {
- list_t *matches;
- list_t *directives;
-} lex_t;
-
-lex_t *lex(char *buffer);
+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);
char *find_contentfor_value(list_t *content_headers, char *key);