From cfb618b6e385a861db7f62141a5f13f211ca6f48 Mon Sep 17 00:00:00 2001 From: nass1pro Date: Sat, 13 Jun 2020 13:00:17 +0200 Subject: Update of token_ferif_stick --- src/lexer/token.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lexer/token.c') 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); -- cgit