aboutsummaryrefslogtreecommitdiff
path: root/src/include/token.h
diff options
context:
space:
mode:
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