diff options
-rw-r--r-- | include/lexer.h | 2 | ||||
-rw-r--r-- | src/lexer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/lexer.h b/include/lexer.h index ce761dd..f5ab375 100644 --- a/include/lexer.h +++ b/include/lexer.h @@ -28,7 +28,7 @@ typedef struct { unsigned int length; } contentfor_operand_t; -list_t *lex_file(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); diff --git a/src/lexer.c b/src/lexer.c index ad6d038..9366be7 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -9,7 +9,7 @@ #include <string.h> list_t * -lex_file(char *buffer) +lex(char *buffer) { list_t *directives = list_create(sizeof(directive_t)); size_t current_offset = 0; |