commit 112f801348a1c02b58cc70115c74642ddb62a39c
parent 4ffc230ee9c60066127b59d0b207934739fcdaac
Author: Eyal Sawady <ecs@d2evs.net>
Date: Tue, 6 Apr 2021 20:02:04 -0400
Statically allocate the type store
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
@@ -177,7 +177,7 @@ main(int argc, char *argv[])
return 0;
}
- struct type_store ts = {0};
+ static struct type_store ts = {0};
builtin_types_init();
check(&ts, tags, defines, &aunit, &unit);
if (stage == STAGE_CHECK) {