aboutsummaryrefslogtreecommitdiff
path: root/include/tokenizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tokenizer.h')
-rw-r--r--include/tokenizer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tokenizer.h b/include/tokenizer.h
index ceb7acf..5d59d73 100644
--- a/include/tokenizer.h
+++ b/include/tokenizer.h
@@ -22,6 +22,8 @@ typedef enum {
TOK_CONST,
TOK_VAR,
TOK_STRING,
+ TOK_NUMBER,
+ TOK_BOOL,
TOK_FN,
TOK_STRUCT,
TOK_EQUALS,
@@ -32,7 +34,6 @@ typedef enum {
TOK_OPEN_BRACE,
TOK_CLOSING_BRACE,
TOK_IMPORT,
- TOK_NUMBER,
TOK_SEMICOLON,
TOK_COLON,
TOK_BINOP,
@@ -66,6 +67,7 @@ struct Tokenizer {
BinopType binop_type;
} value;
AmalNumber number;
+ bool bool_value;
ArenaAllocator *allocator; /* borrowed */
const amal_compiler_options *compiler_options; /* borrowed */
};