Problem: Crash when evaluating the pattern of ":catch" causes an error.
(Dominique Pelle)
Solution: Block error messages at this point.
}
save_cpo = p_cpo;
p_cpo = (char_u *)"";
+ /* Disable error messages, it will make current_exception
+ * invalid. */
+ ++emsg_off;
regmatch.regprog = vim_regcomp(pat, RE_MAGIC + RE_STRING);
+ --emsg_off;
regmatch.rm_ic = FALSE;
if (end != NULL)
*end = save_char;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1282,
/**/
1281,
/**/