summaryrefslogtreecommitdiff
path: root/libguile/debug.h
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2005-01-11 17:43:37 +0000
committerMarius Vollmer <mvo@zagadka.de>2005-01-11 17:43:37 +0000
commit65bc1f7a0b03d06e9e82f1be694108fe9af0c5de (patch)
tree99ce2a014b9ba41a8544bc381f62ae651d4d7142 /libguile/debug.h
parentd6dc83a9bcd21f06911a809c66f6847008b7bbf7 (diff)
downloadguile-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/debug.h')
-rw-r--r--libguile/debug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/debug.h b/libguile/debug.h
index 81e1fb3f1..f967be6b6 100644
--- a/libguile/debug.h
+++ b/libguile/debug.h
@@ -58,7 +58,8 @@ SCM_API scm_t_option scm_debug_opts[];
#define SCM_DEVAL_P scm_debug_opts[11].val
#define SCM_STACK_LIMIT scm_debug_opts[12].val
#define SCM_SHOW_FILE_NAME scm_debug_opts[13].val
-#define SCM_N_DEBUG_OPTIONS 14
+#define SCM_WARN_DEPRECATED scm_debug_opts[14].val
+#define SCM_N_DEBUG_OPTIONS 15
SCM_API int scm_debug_mode_p;
SCM_API int scm_check_entry_p;