mes: Better error reporting.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 7 Jan 2018 15:08:11 +0000 (16:08 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 7 Jan 2018 15:08:11 +0000 (16:08 +0100)
commita5ede4d4d6e01eaf415cececf1ed5a256a7cb2ce
tree2b8e0c0be1e344f10d18db727acc81d27f3eccf4
parent0fab33da360afba6bfdcf97fc27a9411c175d0fe
mes: Better error reporting.

* src/lib.c (write_error_): New function.
* src/mes.c (error, check_apply): Use it.
  (append2, set_car_x): Upon error, call error (WAS: assert).
module/mes/catch.mes
src/lib.c
src/mes.c