aboutsummaryrefslogtreecommitdiffstats
path: root/src/bootstrap/lexer.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-10 12:11:45 +0200
committerBad Diode <bd@badd10de.dev>2021-10-10 12:11:45 +0200
commit4673fde605090320fbab227e56bb085eec97362a (patch)
tree5d510484d5543b4b11fd62b42a4b1e14672ff2cd /src/bootstrap/lexer.c
parentc2bfb5368e603d686190fdc9f3ddbafbda075a9c (diff)
downloadbdl-4673fde605090320fbab227e56bb085eec97362a.tar.gz
bdl-4673fde605090320fbab227e56bb085eec97362a.zip
Add boolean primitives and more (better) tests
Diffstat (limited to 'src/bootstrap/lexer.c')
-rw-r--r--src/bootstrap/lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lexer.c b/src/bootstrap/lexer.c
index dd5c0f2..b03db77 100644
--- a/src/bootstrap/lexer.c
+++ b/src/bootstrap/lexer.c
@@ -51,7 +51,7 @@ Tokens
51tokenize(StringView sv) { 51tokenize(StringView sv) {
52 // NOTE: Not allocating any memory for now, but we are limited by a maximum 52 // NOTE: Not allocating any memory for now, but we are limited by a maximum
53 // number of tokens we can process. 53 // number of tokens we can process.
54 #define TOKENS_BUF_SIZE 1024 54 #define TOKENS_BUF_SIZE KB(64)
55 static Token tokens_buf[TOKENS_BUF_SIZE]; 55 static Token tokens_buf[TOKENS_BUF_SIZE];
56 56
57 // Clear buffer. 57 // Clear buffer.