mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 22:29:16 +02:00
Missing vm changes for non-raised FFI exceptions from a7ffc1f42a2b.
This commit is contained in:
parent
b77e4397d7
commit
fb858ac5fe
1 changed files with 4 additions and 0 deletions
4
vm.c
4
vm.c
|
@ -1056,6 +1056,10 @@ sexp sexp_apply (sexp ctx, sexp proc, sexp args) {
|
|||
tmp1 = sexp_trampoline_procedure(_ARG1);
|
||||
tmp2 = sexp_trampoline_args(_ARG1);
|
||||
top--;
|
||||
if (sexp_not(tmp1) && sexp_pairp(tmp2)) { /* noop trampoline is */
|
||||
_PUSH(sexp_car(tmp2)); /* a wrapped exception */
|
||||
goto loop;
|
||||
}
|
||||
goto apply1;
|
||||
}
|
||||
tmp1 = sexp_parameter_ref(ctx, sexp_global(ctx, SEXP_G_ERR_HANDLER));
|
||||
|
|
Loading…
Add table
Reference in a new issue