forked from aniani/vim
patch 8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented code
Problem: Unnessary VIM_ISDIGIT() calls, badly indented code. Solution: Call skipdigits() on the next character. Improve indenting. (Dominique Pellé, closes #8227)
This commit is contained in:
committed by
Bram Moolenaar
parent
796139ae3a
commit
4781d6fd86
@@ -8341,11 +8341,11 @@ compile_endtry(char_u *arg, cctx_T *cctx)
|
||||
}
|
||||
|
||||
#ifdef FEAT_PROFILE
|
||||
if (cctx->ctx_profiling && ((isn_T *)instr->ga_data)[instr->ga_len - 1]
|
||||
.isn_type == ISN_PROF_START)
|
||||
// move the profile start after "endtry" so that it's not counted when
|
||||
// the exception is rethrown.
|
||||
--instr->ga_len;
|
||||
if (cctx->ctx_profiling && ((isn_T *)instr->ga_data)[instr->ga_len - 1]
|
||||
.isn_type == ISN_PROF_START)
|
||||
// move the profile start after "endtry" so that it's not counted when
|
||||
// the exception is rethrown.
|
||||
--instr->ga_len;
|
||||
#endif
|
||||
|
||||
// Fill in the "end" label in jumps at the end of the blocks, if not
|
||||
|
Reference in New Issue
Block a user