core: Cleanup make_cell, remove tmp cells.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 14 Apr 2018 06:15:49 +0000 (08:15 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 14 Apr 2018 06:15:49 +0000 (08:15 +0200)
commitac0baf84d402d3f271ee6ea639c108c16e72271f
treece160d8872ce0cefc37baf893eb481045a664575
parent7cad0671f35450d3e5b5b8b8dd395e3c8278f03c
core: Cleanup make_cell, remove tmp cells.

* src/mes.c (make_cell__): New function.
  (make_cell_): Use it.
  (length__): New function.
  (tmp, tmp_num, tmp_num2, tmp_num_, tmp_num2_, make_tmps): Remove.
  Update callers to use make_cell__ directly.
 * src/vector.c (make_vector__): New function.
  (make_vector_): Use it.
scripts/repl.mes
src/gc.c
src/mes.c
src/vector.c
tests/psyntax.test