diff options
Diffstat (limited to 'src/lexer/token.c')
| -rw-r--r-- | src/lexer/token.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lexer/token.c b/src/lexer/token.c index 6c6a184..490c7b1 100644 --- a/src/lexer/token.c +++ b/src/lexer/token.c @@ -12,9 +12,9 @@ #include "lexer.h" -t_token *token_new(enum e_token_tag tag, char *content) +t_token *token_new(enum e_token_tag tag, char *content) { - t_token *token; + t_token *token; if (content == NULL || (token = (t_token*)malloc(sizeof(t_token))) == NULL) @@ -28,7 +28,7 @@ t_token *token_new(enum e_token_tag tag, char *content) return token; } -void token_destroy(t_token *token) +void token_destroy(t_token *token) { free(token->content); free(token); |
