core: Factor-out assert_defined.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 3 Nov 2016 09:37:08 +0000 (10:37 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 12 Dec 2016 19:33:50 +0000 (20:33 +0100)
commitbcd6cd9dccd83e50b951503fba3557fe4eb1f6a5
treef1a712dcbfce8226b5029a86da82088f422cb06c
parent97300ef6ae8605e6078e9c47311169cab8505b9e
core: Factor-out assert_defined.

* mes.c (assert_defined): New function.
  (set_env_x): Use it.
  (builtin_eval): Use it.
mes.c