diff options
Diffstat (limited to 'tokenizer.c')
-rw-r--r-- | tokenizer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tokenizer.c b/tokenizer.c index dc46cd5..02194c5 100644 --- a/tokenizer.c +++ b/tokenizer.c @@ -44,6 +44,7 @@ typedef enum { KW_WHILE, KW_RETURN, KW_FN, + KW_AS, KW_BOOL, KW_TRUE, KW_FALSE, @@ -66,7 +67,7 @@ static const char *keywords[KW_COUNT] = {";", ":", "@", ",", "(", ")", "{", "}", "[", "]", "==", "!=", "<", "<=", ">", ">=", "+", "-", "*", "!", "&", "/", "=", - "if", "elif", "else", "while", "return", "fn", + "if", "elif", "else", "while", "return", "fn", "as", "bool", "true", "false", "int", "i8", "i16", "i32", "i64", "u8", "u16", "u32", "u64", "float", "f32", "f64"}; |