I forgot to add this lmao

This commit is contained in:
2026-01-17 20:07:24 +11:00
parent 1c5300d27e
commit 46bfa7fbf0

View File

@@ -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);
}