mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-07 05:06:37 +02:00
Adding a type check on env-exports.
This commit is contained in:
parent
a689b1a399
commit
b2caf66dcb
1 changed files with 1 additions and 0 deletions
1
eval.c
1
eval.c
|
@ -160,6 +160,7 @@ sexp sexp_env_rename (sexp ctx, sexp env, sexp key, sexp value) {
|
|||
sexp sexp_env_exports_op (sexp ctx, sexp self, sexp_sint_t n, sexp env) {
|
||||
sexp ls;
|
||||
sexp_gc_var1(res);
|
||||
sexp_assert_type(ctx, sexp_envp, SEXP_ENV, env);
|
||||
sexp_gc_preserve1(ctx, res);
|
||||
res = SEXP_NULL;
|
||||
#if SEXP_USE_RENAME_BINDINGS
|
||||
|
|
Loading…
Add table
Reference in a new issue