diff --git a/util.c b/util.c index c193fa524f6551ff32c47462b4696b7cea45941a..cdb9932cd9086e965866ea991c502689163bc323 100644 --- a/util.c +++ b/util.c @@ -132,8 +132,7 @@ cons_cell* create_rename_operator(cons_cell* col, cons_cell* next) { // For when you want to assign a var to a table cons_cell* create_assign_operator(cons_cell* table, cons_cell* var) { // cdr to get to cons atom, car to get atom itself - cons_cell* var_cons = create_cons_cell(var, NULL); - cons_cell* assign_cons = create_cons_cell(table, var_cons); + cons_cell* assign_cons = create_cons_cell(table, var); char operator[3] = "AS\0"; cons_cell* operator_cons = create_cons_cell_w_atom(operator, assign_cons); return operator_cons;