I forgot to add this lmao
This commit is contained in:
@@ -450,7 +450,7 @@ GroundValue interpretGroundProgram(GroundProgram* in, GroundScope* inScope) {
|
|||||||
.type = STRUCTVAL,
|
.type = STRUCTVAL,
|
||||||
.data.structVal = malloc(sizeof(GroundStruct))
|
.data.structVal = malloc(sizeof(GroundStruct))
|
||||||
};
|
};
|
||||||
*gv.data.structVal = parseStruct(&gp, errorOffset);
|
*gv.data.structVal = parseStruct(&gp, &scope, errorOffset);
|
||||||
|
|
||||||
addVariable(scope.variables, name, gv);
|
addVariable(scope.variables, name, gv);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user