mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
typo in env-exports (issue #685)
This commit is contained in:
parent
006f22ccd7
commit
b89db31e37
1 changed files with 1 additions and 1 deletions
2
eval.c
2
eval.c
|
@ -206,7 +206,7 @@ sexp sexp_env_exports_op (sexp ctx, sexp self, sexp_sint_t n, sexp env) {
|
||||||
res = SEXP_NULL;
|
res = SEXP_NULL;
|
||||||
#if SEXP_USE_RENAME_BINDINGS
|
#if SEXP_USE_RENAME_BINDINGS
|
||||||
for (ls=sexp_env_renames(env); sexp_pairp(ls); ls=sexp_env_next_cell(ls))
|
for (ls=sexp_env_renames(env); sexp_pairp(ls); ls=sexp_env_next_cell(ls))
|
||||||
sexp_push(ctx, res, sexp_cadr(ls));
|
sexp_push(ctx, res, sexp_car(ls));
|
||||||
#endif
|
#endif
|
||||||
for (ls=sexp_env_bindings(env); sexp_pairp(ls); ls=sexp_env_next_cell(ls))
|
for (ls=sexp_env_bindings(env); sexp_pairp(ls); ls=sexp_env_next_cell(ls))
|
||||||
if (sexp_env_value(ls) != SEXP_UNDEF)
|
if (sexp_env_value(ls) != SEXP_UNDEF)
|
||||||
|
|
Loading…
Add table
Reference in a new issue