fix(lexer): includes + typo + clang format

This commit is contained in:
Matteo Flebus 2026-01-13 22:07:40 +01:00
parent 8262fdece8
commit 58fd9d530e
2 changed files with 10 additions and 9 deletions

View file

@ -20,7 +20,7 @@ enum token_type
struct token
{
enum token_type type;
char* data;
char *data;
};
/*
@ -57,7 +57,7 @@ struct token *new_token(char *begin, ssize_t size);
/* @brief: frees the token given in argument
*
*/
void free_token(struct token* tok);
void free_token(struct token *tok);
/*
* @brief: checks if the stream used for the last token creation is empty.