summaryrefslogtreecommitdiff
path: root/libguile/expand.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2013-11-08 14:08:42 +0100
committerAndy Wingo <wingo@pobox.com>2013-11-08 14:08:42 +0100
commit9f309e2cd9ec78408d2b0df77c46d44f7bddb368 (patch)
treef1b2f21d15b9b9dc85eb6d562c256be1b4156002 /libguile/expand.c
parentf41accb9c26e3b4df4170bda04b8860ee962657f (diff)
downloadguile-9f309e2cd9ec78408d2b0df77c46d44f7bddb368.tar.gz
Builtins have procedure properties
* libguile/vm-builtins.h (FOR_EACH_VM_BUILTIN): Add arity information. (enum scm_vm_builtins): * libguile/vm.c (scm_vm_builtin_ref): (scm_vm_builtin_name_to_index): (scm_vm_builtin_index_to_name): Adapt to macro interface change. (scm_init_vm_builtin_properties): New helper, sets procedure properties on builtins. (scm_bootstrap_vm): Just define the builtins here. Later in the bootstrap we set their properties. (scm_sym_apply): Move definition here from expand.c. * libguile/procprop.c (scm_init_procprop): Call scm_init_vm_builtin_properties.
Diffstat (limited to 'libguile/expand.c')
-rw-r--r--libguile/expand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libguile/expand.c b/libguile/expand.c
index a8625eafa..7d6a6ed32 100644
--- a/libguile/expand.c
+++ b/libguile/expand.c
@@ -173,7 +173,6 @@ SCM_SYNTAX ("case-lambda", expand_case_lambda);
SCM_SYNTAX ("case-lambda*", expand_case_lambda_star);
-SCM_GLOBAL_SYMBOL (scm_sym_apply, "apply");
SCM_GLOBAL_SYMBOL (scm_sym_arrow, "=>");
SCM_GLOBAL_SYMBOL (scm_sym_at, "@");
SCM_GLOBAL_SYMBOL (scm_sym_atat, "@@");