File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -750,6 +750,8 @@ static char *(features[]) =
750750
751751static int included_patches [] =
752752{ /* Add new patch number below this line */
753+ /**/
754+ 2516 ,
753755/**/
754756 2515 ,
755757/**/
Original file line number Diff line number Diff line change @@ -7719,17 +7719,21 @@ compile_endtry(char_u *arg, cctx_T *cctx)
77197719
77207720 compile_endblock (cctx );
77217721
7722- if (try_isn -> isn_arg .try .try_finally == 0 )
7723- // No :finally encountered, use the try_finaly field to point to
7724- // ENDTRY, so that TRYCONT can jump there.
7725- try_isn -> isn_arg .try .try_finally = cctx -> ctx_instr .ga_len ;
7722+ if (cctx -> ctx_skip != SKIP_YES )
7723+ {
7724+ if (try_isn -> isn_arg .try .try_finally == 0 )
7725+ // No :finally encountered, use the try_finaly field to point to
7726+ // ENDTRY, so that TRYCONT can jump there.
7727+ try_isn -> isn_arg .try .try_finally = instr -> ga_len ;
77267728
7727- if (cctx -> ctx_skip != SKIP_YES && generate_instr (cctx , ISN_ENDTRY ) == NULL )
7728- return NULL ;
7729+ if (cctx -> ctx_skip != SKIP_YES
7730+ && generate_instr (cctx , ISN_ENDTRY ) == NULL )
7731+ return NULL ;
77297732#ifdef FEAT_PROFILE
77307733 if (cctx -> ctx_profiling )
77317734 generate_instr (cctx , ISN_PROF_START );
77327735#endif
7736+ }
77337737 return arg ;
77347738}
77357739
You can’t perform that action at this time.
0 commit comments