aboutsummaryrefslogtreecommitdiff
path: root/src/token.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/token.c')
-rw-r--r--src/token.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/token.c b/src/token.c
index da38b9a..3021a64 100644
--- a/src/token.c
+++ b/src/token.c
@@ -1,8 +1,8 @@
#include "include/token.h"
#include <stdlib.h>
-token_T* token_init(int type, char* val) {
- token_T* token = calloc(1, sizeof(struct TOKEN_STRUC));
+token_t* token_init(int type, char* val) {
+ token_t* token = calloc(1, sizeof(struct TOKEN_STRUC));
token->type = type;
token->value = val;