From 46bfa7fbf0b83af4376e309623842768cacc2ff4 Mon Sep 17 00:00:00 2001 From: Maxwell Jeffress Date: Sat, 17 Jan 2026 20:07:24 +1100 Subject: [PATCH] I forgot to add this lmao --- src/interpreter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter.c b/src/interpreter.c index bd89520..272a66b 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -450,7 +450,7 @@ GroundValue interpretGroundProgram(GroundProgram* in, GroundScope* inScope) { .type = STRUCTVAL, .data.structVal = malloc(sizeof(GroundStruct)) }; - *gv.data.structVal = parseStruct(&gp, errorOffset); + *gv.data.structVal = parseStruct(&gp, &scope, errorOffset); addVariable(scope.variables, name, gv); }