From 640b395ef000dc20056ec04d6b5ff5d488baf2aa Mon Sep 17 00:00:00 2001 From: c+1 Date: Wed, 3 May 2023 12:42:57 -0400 Subject: HALK HALK HALK --- src/include/token.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/token.h b/src/include/token.h index c5ee9ec..33f28f1 100644 --- a/src/include/token.h +++ b/src/include/token.h @@ -1,6 +1,6 @@ #ifndef TOKEN_H #define TOKEN_H -typedef struct TOKEN_STRUCT { +typedef struct TOKEN_STRUC { enum { TOKEN_ID, // keyword TOKEN_EQ, // '=' @@ -12,11 +12,12 @@ typedef struct TOKEN_STRUCT { TOKEN_LBRAK, // '[' TOKEN_RBRAK, // ']' TOKEN_POUND, // '#'' - TOKEN_TILDE // '~' + TOKEN_TILDE, // '~' + TOKEN_EOF // '\0' } type; char* value; } token_T; -token_T* init_token(int type, char* value); +token_T* token_init(int type, char* value); #endif -- cgit v1.2.3