Include the source location in error messages for scripts.
authorJim Blandy <jimb@red-bean.com>
Thu, 8 Oct 1998 20:11:59 +0000 (20:11 +0000)
committerJim Blandy <jimb@red-bean.com>
Thu, 8 Oct 1998 20:11:59 +0000 (20:11 +0000)
commitf64056d105d2a84caebf4cda45a15dc61a17aa17
tree9d0f35fed43056fbcb7e25846a36e7c3e4fa8209
parenta8e050093217c81ac34ae733f4ffad9c9a14467c
Include the source location in error messages for scripts.
* init.c (scm_boot_guile_1): Use scm_internal_lazy_catch, so the
stack is still there when we catch the error.
* throw.c (handler_message): If we are handling an error with a
message, then put together the proper arguments and call
scm_display_error, instead of scm_display_error_message.  That
displays source location, if it can find it.
libguile/init.c
libguile/throw.c