aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/lexer/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/lexer/lexer.h')
-rw-r--r--src/compiler/lexer/lexer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/lexer/lexer.h b/src/compiler/lexer/lexer.h
index d6eef17..802b50c 100644
--- a/src/compiler/lexer/lexer.h
+++ b/src/compiler/lexer/lexer.h
@@ -7,7 +7,6 @@
typedef enum Token {
TOKEN_NONE = 0,
TOKEN_IDENTIFIER,
- TOKEN_KEYWORD_PRINT,
TOKEN_NUMBER,
TOKEN_STRING,
TOKEN_OPERATOR,
@@ -61,5 +60,8 @@ extern bool isString(char c);
extern bool isOperator(char c);
extern bool isSymbol(char c);
+extern Token getTokenInStrings(char const *strBegin, char const *strEnd,
+ const char *strings[], const Token tokens[],
+ const size_t size);
extern Token getKeyword(char const *strBegin, char const *strEnd);
extern Token getOperator(char const *strBegin, char const *strEnd);