summaryrefslogtreecommitdiff
path: root/tokenizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tokenizer.c')
-rw-r--r--tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokenizer.c b/tokenizer.c
index 48579bc..72eb005 100644
--- a/tokenizer.c
+++ b/tokenizer.c
@@ -217,7 +217,7 @@ until everything is done
*/
static void tokr_create(Tokenizer *t, Identifiers *idents, ErrCtx *err_ctx, Allocator *allocr) {
t->tokens = NULL;
- arr_resv(&t->tokens, 256);
+ arr_resva(&t->tokens, 256, allocr);
t->allocr = allocr;
t->idents = idents;
t->err_ctx = err_ctx;