diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tokenize.c | 3 | ||||
-rw-r--r-- | src/tokenize.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tokenize.c b/src/tokenize.c index 822bc70..28a5336 100644 --- a/src/tokenize.c +++ b/src/tokenize.c @@ -3,8 +3,7 @@ #include <ctype.h> -internal int -token_equals(struct token token, const char *match) +int token_equals(struct token token, const char *match) { const char *at = match; for(int i = 0; i < token.length; ++i, ++at) { diff --git a/src/tokenize.h b/src/tokenize.h index 1c3141a..a6a429d 100644 --- a/src/tokenize.h +++ b/src/tokenize.h @@ -63,5 +63,6 @@ struct tokenizer void tokenizer_init(struct tokenizer *tokenizer, char *buffer); struct token get_token(struct tokenizer *tokenizer); struct token peek_token(struct tokenizer tokenizer); +int token_equals(struct token token, const char *match); #endif |