about summary refs log tree commit diff
path: root/src/bootstrap/tokenizer.src
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap/tokenizer.src')
-rw-r--r--src/bootstrap/tokenizer.src3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bootstrap/tokenizer.src b/src/bootstrap/tokenizer.src
index 3cbb6c1..2f57b02 100644
--- a/src/bootstrap/tokenizer.src
+++ b/src/bootstrap/tokenizer.src
@@ -104,8 +104,7 @@ let print_tokens = (ts: *token, ts_len: i64) => i64 {
 			printf("Number: %d\n", *cast(*i64, to.data));
 		};
 		if (to.type == TOKEN_BOOLEAN) {
-			printf("Boolean: %d\n", cast(i1, to.data));
-			/* TODO: FIX */
+			printf("Boolean: %d\n", *cast(*bool, to.data));
 		};
 		if (to.type == TOKEN_NULL) {
 			printf("Null\n");