diff options
author | c+1 | 2023-05-10 00:50:10 -0400 |
---|---|---|
committer | c+1 | 2023-05-10 00:50:10 -0400 |
commit | 266d3d6af1ba8d338bb8b9ad09431483276dae46 (patch) | |
tree | 4c4ce456e9c1bfc6e0fdc370dffa5da82d797868 /src/include/token.h | |
parent | deb8d97be58847031e7f4ef25d7107cb2dbc35a3 (diff) |
halk.
Diffstat (limited to 'src/include/token.h')
-rw-r--r-- | src/include/token.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |