scm: Error throws rather than hard exit.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 3 Jan 2017 23:11:47 +0000 (00:11 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 3 Jan 2017 23:11:47 +0000 (00:11 +0100)
commit712403752d242ca92d0416a71d7f21a18719e60c
treec4674ceafdfd75a285efbaa9eb80c81f589ab536
parent1f9476aecaff83a24ca1384935f11be258384489
scm: Error throws rather than hard exit.

* module/mes/read-0.mes (read-character, read-string): Call error.
* module/mes/scm.mes (error): Call core:error instead of exit.
  (syntax-error): Likewise.
* module/mes/repl.mes (repl): Move read into catch.
module/mes/read-0.mes
module/mes/repl.mes
module/mes/scm.mes