core: Use assert before failure exit.

* src/mes.c (error): Use assert before failure exit.  Helps debugging.
This commit is contained in:
Jan Nieuwenhuizen 2018-10-19 23:01:59 +02:00
parent 7efd949304
commit 8e2a688a8c
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -590,6 +590,7 @@ error (SCM key, SCM x)
eputs (": ");
write_error_ (x);
eputs ("\n");
assert (0);
exit (1);
}