From 069059937741d9a10ac1bdf7cc15e16e26f5da99 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 24 Nov 2024 17:27:17 +0100 Subject: [PATCH] fix(config): Allow up to 64 types The limit of 16 seems to harsh. --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index 3556ccf..444fe29 100644 --- a/src/config.c +++ b/src/config.c @@ -274,7 +274,7 @@ static enum Status cmd_preview(Parser *ctx) Token name = ctx->token; EXPECT(ctx, TOK_STR); - struct TypeSet types[16]; + struct TypeSet types[64]; unsigned int types_len = 0; while (accept(ctx, TOK_BLK_OPEN) == STAT_NULL) { -- 2.47.0