add proper pretty-printing for syntax errors
authorAndy Wingo <wingo@pobox.com>
Tue, 16 Nov 2010 01:56:43 +0000 (02:56 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 16 Nov 2010 01:57:27 +0000 (02:57 +0100)
commit2090f909b4675286b0de11936771a77a515d885e
tree7b09e68cb941d4a9443475b26177c153be88e053
parent6cb423613ebf6103d15be355041bdd789c3cb05a
add proper pretty-printing for syntax errors

* module/system/repl/repl.scm (display-syntax-error): New helper,
  displays a syntax error.
  (abort-on-error, run-repl): Use it.

* libguile/throw.c (handler_message): Re-code the same thing in C.
libguile/throw.c
module/system/repl/repl.scm