{
char_u *saved_IObuff;
+ if (current_exception == excp)
+ current_exception = NULL;
if (excp == NULL)
{
internal_error("discard_exception()");
discard_current_exception(void)
{
if (current_exception != NULL)
- {
discard_exception(current_exception, FALSE);
- current_exception = NULL;
- }
did_throw = FALSE;
need_rethrow = FALSE;
}
// Cancel the pending exception. This is in the
// finally clause, so that the stack of the
// caught exceptions is not involved.
- discard_exception((except_T *)
- cstack->cs_exception[idx],
+ discard_exception(
+ (except_T *)cstack->cs_exception[idx],
FALSE);
}
else