1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-17 09:10:22 +02:00

It's an "eval closure", not an "eval thunk." A thunk is a

function of no arguments.
* root.h (struct scm_root_state): Renamed
top_level_lookup_closure_var from top_level_lookup_thunk_var.
(scm_top_level_lookup_closure_var): Renamed from
scm_top_level_lookup_thunk_var.
* root.c (mark_root): Uses changed.
* gdbint.c (gdb_eval, gdb_binding): Uses changed.
* init.c (scm_start_stack): Uses changed.
* eval.c (scm_eval, scm_eval_x, scm_init_eval): Rename uses.
Change scheme-visible name to *top-level-lookup-closure* from
*top-level-lookup-thunk*.
This commit is contained in:
Jim Blandy 1996-11-21 16:28:39 +00:00
parent a31bc6fbba
commit dc19d1d29a
5 changed files with 11 additions and 10 deletions

View file

@ -255,7 +255,7 @@ gdb_eval (exp)
}
SCM_BEGIN_FOREIGN_BLOCK;
{
SCM env = scm_top_level_env (SCM_CDR (scm_top_level_lookup_thunk_var));
SCM env = scm_top_level_env (SCM_CDR (scm_top_level_lookup_closure_var));
gdb_result = scm_permanent_object (scm_ceval (exp, env));
}
SCM_END_FOREIGN_BLOCK;
@ -293,7 +293,7 @@ gdb_binding (name, value)
SCM_BEGIN_FOREIGN_BLOCK;
{
SCM vcell = scm_sym2vcell (name,
SCM_CDR (scm_top_level_lookup_thunk_var),
SCM_CDR (scm_top_level_lookup_closure_var),
SCM_BOOL_T);
SCM_SETCDR (vcell, value);
}