summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorCarson Fleming <[email protected]>2026-03-29 08:28:28 -1000
committerCarson Fleming <[email protected]>2026-03-29 08:28:28 -1000
commit7cf2065be92855b5b1db31a4bb7afbb4af29a817 (patch)
tree773e9df00d46934f548a2d76dbe6e61aec9b21c9 /scope.c
parent50495e8f815d3d5f92b3d36369acc52a6d2ea9c4 (diff)
downloadccc-7cf2065be92855b5b1db31a4bb7afbb4af29a817.tar.gz
calling functions and some optimizationsHEADmaster
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 17bc22b..a0d4477 100644
--- a/scope.c
+++ b/scope.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#define DEFAULT_SIZE 4
+#define DEFAULT_SIZE 16
static void scope_init(struct scope* scope) {
scope->types = calloc(DEFAULT_SIZE, sizeof(struct type_def*));