summaryrefslogtreecommitdiff
path: root/libguile/deprecated.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-11-27 17:24:12 +0100
committerAndy Wingo <wingo@pobox.com>2009-12-01 21:00:25 +0100
commitf39fc3b38cbd7dda61def29bd8ef2d8f7ca27dd5 (patch)
treebaf1e9d5e64996bd3d5ee7d6ab13a319e38747e9 /libguile/deprecated.c
parent1963682290baa7d49f56a0e6aaf8a4880265f868 (diff)
downloadguile-f39fc3b38cbd7dda61def29bd8ef2d8f7ca27dd5.tar.gz
remove some deprecated things, undeprecate scm_the_root_module()
* libguile/deprecated.h * libguile/deprecated.c (SCM_ILOC00, SCM_IDINC, SCM_IDSTMSK) (scm_s_expression, scm_s_test, scm_s_body, scm_s_bindings) (scm_s_variable, scm_s_clauses, scm_s_formals, SCM_EVALIM2) (SCM_EVALIM, SCM_XEVAL, SCM_XEVALCAR): Remove these macros and constants, deprecated in 2003. (scm_the_root_module): Undeprecate, it's actually a useful function, that other parts of the code use. * libguile/modules.h (scm_the_root_module): Undeprecated. * libguile/modules.c (scm_the_root_module): Rename from the_root_module. Use it in the rest of this file.
Diffstat (limited to 'libguile/deprecated.c')
-rw-r--r--libguile/deprecated.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/libguile/deprecated.c b/libguile/deprecated.c
index bef3c9009..058ebb73c 100644
--- a/libguile/deprecated.c
+++ b/libguile/deprecated.c
@@ -70,17 +70,6 @@ char *scm_isymnames[] =
};
-/* From eval.c: Error messages of the evaluator. These were deprecated in
- * guile 1.7.0 on 2003-06-02. */
-const char scm_s_expression[] = "missing or extra expression";
-const char scm_s_test[] = "bad test";
-const char scm_s_body[] = "bad body";
-const char scm_s_bindings[] = "bad bindings";
-const char scm_s_variable[] = "bad variable";
-const char scm_s_clauses[] = "bad or missing clauses";
-const char scm_s_formals[] = "bad formals";
-
-
SCM_REGISTER_PROC(s_substring_move_left_x, "substring-move-left!", 5, 0, 0, scm_substring_move_x);
SCM_REGISTER_PROC(s_substring_move_right_x, "substring-move-right!", 5, 0, 0, scm_substring_move_x);
@@ -271,17 +260,6 @@ init_module_stuff ()
}
}
-SCM
-scm_the_root_module ()
-{
- init_module_stuff ();
- scm_c_issue_deprecation_warning ("`scm_the_root_module' is deprecated. "
- "Use `scm_c_resolve_module (\"guile\")' "
- "instead.");
-
- return scm_c_resolve_module ("guile");
-}
-
static SCM
scm_module_full_name (SCM name)
{