Skip to content
Snippets Groups Projects
Commit c29330f3 authored by expan's avatar expan
Browse files

Test

parent 1fa3493a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment