I have an inability to copy and paste properly
This commit is contained in:
@@ -968,8 +968,8 @@ ResultType(GroundProgram, charptr) generateUseNode(SolsNode* node, SolsScope* sc
|
||||
|
||||
// Insert all the stuff into our scope
|
||||
SolsVariable *var, *tmp;
|
||||
HASH_ITER(hh, scope->variables, var, tmp) {
|
||||
addVariableToScope(&newScope, var->id, var->typeinfo);
|
||||
HASH_ITER(hh, newScope.variables, var, tmp) {
|
||||
addVariableToScope(scope, var->id, var->typeinfo);
|
||||
}
|
||||
|
||||
return Success(GroundProgram, charptr, codegen.as.success);
|
||||
|
||||
Reference in New Issue
Block a user