aboutsummaryrefslogtreecommitdiff
path: root/src/include/token.h
diff options
context:
space:
mode:
authorc+12023-05-10 00:50:10 -0400
committerc+12023-05-10 00:50:10 -0400
commit266d3d6af1ba8d338bb8b9ad09431483276dae46 (patch)
tree4c4ce456e9c1bfc6e0fdc370dffa5da82d797868 /src/include/token.h
parentdeb8d97be58847031e7f4ef25d7107cb2dbc35a3 (diff)
halk.
Diffstat (limited to 'src/include/token.h')
-rw-r--r--src/include/token.h6
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