diff options
author | Marius Vollmer <mvo@zagadka.de> | 2005-01-11 17:43:37 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2005-01-11 17:43:37 +0000 |
commit | 65bc1f7a0b03d06e9e82f1be694108fe9af0c5de (patch) | |
tree | 99ce2a014b9ba41a8544bc381f62ae651d4d7142 /libguile/eval.c | |
parent | d6dc83a9bcd21f06911a809c66f6847008b7bbf7 (diff) | |
download | guile-65bc1f7a0b03d06e9e82f1be694108fe9af0c5de.tar.gz |
* eval.c, debug.h (SCM_WARN_DEPRECATED): New debug option.
* deprecation.c (scm_issue_deprecation_warning,
scm_c_issue_deprecation_warning_fmt): Use it.
(mode): Removed.
(print_summary): New.
(scm_init_deprecation): Initialize SCM_WARN_DEPRECATED instead of
mode.
Diffstat (limited to 'libguile/eval.c')
-rw-r--r-- | libguile/eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/eval.c b/libguile/eval.c index 193fd1c8a..8c3ed5617 100644 --- a/libguile/eval.c +++ b/libguile/eval.c @@ -3062,7 +3062,8 @@ scm_t_option scm_debug_opts[] = { { 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_SCM, "show-file-name", (unsigned long)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_SCM, "show-file-name", (unsigned long)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_BOOLEAN, "warn-deprecated", 0, "Warn when deprecated features are used." } }; scm_t_option scm_evaluator_trap_table[] = { |