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
|
// Insert all the stuff into our scope
|
||||||
SolsVariable *var, *tmp;
|
SolsVariable *var, *tmp;
|
||||||
HASH_ITER(hh, scope->variables, var, tmp) {
|
HASH_ITER(hh, newScope.variables, var, tmp) {
|
||||||
addVariableToScope(&newScope, var->id, var->typeinfo);
|
addVariableToScope(scope, var->id, var->typeinfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Success(GroundProgram, charptr, codegen.as.success);
|
return Success(GroundProgram, charptr, codegen.as.success);
|
||||||
|
|||||||
Reference in New Issue
Block a user