aboutsummaryrefslogtreecommitdiff
path: root/src/token.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/token.c')
-rw-r--r--src/token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/token.c b/src/token.c
index 33a2545..df71d17 100644
--- a/src/token.c
+++ b/src/token.c
@@ -3,7 +3,7 @@
token_t* token_init(int type, char val) {
token_t* token;
- token = emalloc(sizeof(struct TOKEN_STRUC));
+ token = emalloc(sizeof(token_t));
token->type = type;
token->val = emalloc(2);
*token->val = val;