0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

updated for version 7.3.650

Problem:    Completion after ":help \{-" gives an error message and messes up
            the command line.
Solution:   Cancel the tag search if the pattern can't be compiled. (Yasuhiro
            Matsumoto)
This commit is contained in:
Bram Moolenaar
2012-09-05 15:03:30 +02:00
parent 7c82130a76
commit b4a80cdd91
2 changed files with 4 additions and 0 deletions

View File

@@ -1443,6 +1443,8 @@ find_tags(pat, num_matches, matchesp, flags, mincount, buf_ffname)
orgpat.len = p_tl; orgpat.len = p_tl;
prepare_pats(&orgpat, has_re); prepare_pats(&orgpat, has_re);
if (has_re && orgpat.regmatch.regprog == NULL)
goto findtag_end;
#ifdef FEAT_TAG_BINS #ifdef FEAT_TAG_BINS
/* This is only to avoid a compiler warning for using search_info /* This is only to avoid a compiler warning for using search_info

View File

@@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
650,
/**/ /**/
649, 649,
/**/ /**/