summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2001-05-25 00:17:32 +0000
committerMarius Vollmer <mvo@zagadka.de>2001-05-25 00:17:32 +0000
commit863e833bc68d87b914c0446b4ad0f3b0833b4b9c (patch)
tree8ad160e8a385ab95f6f36a6b745b0c14183a61eb
parentb337528fb5cd6d8bf281fd387bec60fcf503467b (diff)
downloadguile-863e833bc68d87b914c0446b4ad0f3b0833b4b9c.tar.gz
* eval.c (scm_debug_opts): New option `show-file-name'.
* debug.h (SCM_SHOW_FILE_NAME): New.
-rw-r--r--libguile/eval.c3
1 files changed, 2 insertions, 1 deletions
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[] = {