diff options
Diffstat (limited to 'src/token.c')
-rw-r--r-- | src/token.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/token.c b/src/token.c index 3021a64..e57ecd5 100644 --- a/src/token.c +++ b/src/token.c @@ -1,6 +1,10 @@ -#include "include/token.h" #include <stdlib.h> + +#include "include/token.h" + + +// token constructor token_t* token_init(int type, char* val) { token_t* token = calloc(1, sizeof(struct TOKEN_STRUC)); token->type = type; |