From 863e833bc68d87b914c0446b4ad0f3b0833b4b9c Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Fri, 25 May 2001 00:17:32 +0000 Subject: [PATCH] * eval.c (scm_debug_opts): New option `show-file-name'. * debug.h (SCM_SHOW_FILE_NAME): New. --- libguile/eval.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libguile/eval.c b/libguile/eval.c index 17fbdc632..c2307c550 100644 --- a/libguile/eval.c +++ b/libguile/eval.c @@ -1686,7 +1686,8 @@ scm_option_t scm_debug_opts[] = { { SCM_OPTION_INTEGER, "depth", 20, "Maximal length of printed backtrace." }, { SCM_OPTION_BOOLEAN, "backtrace", 0, "Show backtrace on error." }, { SCM_OPTION_BOOLEAN, "debug", 0, "Use the debugging evaluator." }, - { SCM_OPTION_INTEGER, "stack", 20000, "Stack size limit (measured in words; 0 = no check)." } + { SCM_OPTION_INTEGER, "stack", 20000, "Stack size limit (measured in words; 0 = no check)." }, + { SCM_OPTION_SCM, "show-file-name", SCM_BOOL_T, "Show file names and line numbers in backtraces when not `#f'. A value of `base' displays only base names, while `#t' displays full names."} }; scm_option_t scm_evaluator_trap_table[] = {