diff --git a/src/interpreter.c b/src/interpreter.c index 570fda51a989b..0c33409c9701c 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -540,7 +540,7 @@ static jl_value_t *eval_body(jl_array_t *stmts, interpreter_state *s, size_t ip, } // store current top of exception stack for restore in pop_exception. s->locals[jl_source_nslots(s->src) + ip] = jl_box_ulong(jl_excstack_state()); - if (!jl_setjmp(__eh.eh_ctx, 1)) { + if (!jl_setjmp(__eh.eh_ctx, 0)) { return eval_body(stmts, s, next_ip, toplevel); } else if (s->continue_at) { // means we reached a :leave expression