fix(lexer): includes + typo + clang format
This commit is contained in:
parent
8262fdece8
commit
58fd9d530e
2 changed files with 10 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue