mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
lint
This commit is contained in:
parent
c2e7f39528
commit
0394cb23e9
@ -21797,18 +21797,15 @@ void ex_return(exarg_T *eap)
|
||||
} else {
|
||||
tv_clear(&rettv);
|
||||
}
|
||||
}
|
||||
/* It's safer to return also on error. */
|
||||
else if (!eap->skip) {
|
||||
} else if (!eap->skip) { // It's safer to return also on error.
|
||||
// In return statement, cause_abort should be force_abort.
|
||||
update_force_abort();
|
||||
|
||||
/*
|
||||
* Return unless the expression evaluation has been cancelled due to an
|
||||
* aborting error, an interrupt, or an exception.
|
||||
*/
|
||||
if (!aborting())
|
||||
returning = do_return(eap, FALSE, TRUE, NULL);
|
||||
// Return unless the expression evaluation has been cancelled due to an
|
||||
// aborting error, an interrupt, or an exception.
|
||||
if (!aborting()) {
|
||||
returning = do_return(eap, false, true, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/* When skipping or the return gets pending, advance to the next command
|
||||
|
Loading…
Reference in New Issue
Block a user