From 266d3d6af1ba8d338bb8b9ad09431483276dae46 Mon Sep 17 00:00:00 2001 From: c+1 Date: Wed, 10 May 2023 00:50:10 -0400 Subject: halk. --- src/include/token.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/include/token.h') diff --git a/src/include/token.h b/src/include/token.h index 709051a..147862c 100644 --- a/src/include/token.h +++ b/src/include/token.h @@ -1,5 +1,7 @@ #ifndef TOKEN_H #define TOKEN_H + + typedef struct TOKEN_STRUC { enum { TOKEN_ID, // keyword @@ -21,5 +23,7 @@ typedef struct TOKEN_STRUC { char* value; } token_t; -token_t* token_init(int type, char* value); +extern token_t* token_init(int type, char* value); + + #endif -- cgit v1.2.3