summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tag.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tag.c b/src/tag.c
index 08abd4175..4f2426b90 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -1443,6 +1443,8 @@ find_tags(pat, num_matches, matchesp, flags, mincount, buf_ffname)
orgpat.len = p_tl;
prepare_pats(&orgpat, has_re);
+ if (has_re && orgpat.regmatch.regprog == NULL)
+ goto findtag_end;
#ifdef FEAT_TAG_BINS
/* This is only to avoid a compiler warning for using search_info
diff --git a/src/version.c b/src/version.c
index 4b4890c7e..a2ca2386e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -720,6 +720,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 650,
+/**/
649,
/**/
648,