diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-07-08 00:28:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 15:28:44 -0700 |
commit | 4547137aaff32b20172870a549d3a28a3c7adf1c (patch) | |
tree | 0f40a62b3741c57a6f5759dc25f8932a26922908 /src/nvim/eval/userfunc.c | |
parent | e2bc7e321b4a8bec3727cf342a84eb1e85dadbc8 (diff) | |
download | rneovim-4547137aaff32b20172870a549d3a28a3c7adf1c.tar.gz rneovim-4547137aaff32b20172870a549d3a28a3c7adf1c.tar.bz2 rneovim-4547137aaff32b20172870a549d3a28a3c7adf1c.zip |
chore: use codespell to spell check #15016
Diffstat (limited to 'src/nvim/eval/userfunc.c')
-rw-r--r-- | src/nvim/eval/userfunc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/eval/userfunc.c b/src/nvim/eval/userfunc.c index 5ffc06ec44..d522e72a99 100644 --- a/src/nvim/eval/userfunc.c +++ b/src/nvim/eval/userfunc.c @@ -3029,13 +3029,13 @@ int do_return(exarg_T *eap, int reanimate, int is_cmd, void *rettv) current_funccal->returned = false; } - /* - * Cleanup (and inactivate) conditionals, but stop when a try conditional - * not in its finally clause (which then is to be executed next) is found. - * In this case, make the ":return" pending for execution at the ":endtry". - * Otherwise, return normally. - */ - idx = cleanup_conditionals(eap->cstack, 0, TRUE); + // + // Cleanup (and deactivate) conditionals, but stop when a try conditional + // not in its finally clause (which then is to be executed next) is found. + // In this case, make the ":return" pending for execution at the ":endtry". + // Otherwise, return normally. + // + idx = cleanup_conditionals(eap->cstack, 0, true); if (idx >= 0) { cstack->cs_pending[idx] = CSTP_RETURN; |