feat: fix compiler warnings and generate grammar for tree-sitter 0.25

This commit is contained in:
maunzCache
2025-03-30 12:46:26 +02:00
committed by Michael Hoffmann
parent ecb799c619
commit 91ab40725d
7 changed files with 158 additions and 128 deletions

View File

@@ -97,7 +97,7 @@ typedef struct {
char *data;
} String;
String string_new() { return (String){.cap = 16, .len = 0, .data = calloc(1, sizeof(char) * 17)}; }
static String string_new() { return (String){.cap = 16, .len = 0, .data = calloc(1, sizeof(char) * 17)}; }
typedef struct {
ContextType type;