changeset 18554:60c46cd053db v8.1.2271

patch 8.1.2271: build error if FEAT_TAG_BINS is not defined Commit: https://github.com/vim/vim/commit/398a59b6a51e86c23a5f61cb9a6d8a5771c95680 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 8 21:56:57 2019 +0100 patch 8.1.2271: build error if FEAT_TAG_BINS is not defined Problem: Build error if FEAT_TAG_BINS is not defined. (John Marriott) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Fri, 08 Nov 2019 22:00:05 +0100
parents 5b2008239930
children babb80ff1342
files src/tag.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/tag.c
+++ b/src/tag.c
@@ -2242,9 +2242,11 @@ parse_line:
 		lbuf = alloc(lbuf_size);
 		if (lbuf == NULL)
 		    goto findtag_end;
+#ifdef FEAT_TAG_BINS
 		// this will try the same thing again, make sure the offset is
 		// different
 		search_info.curr_offset = 0;
+#endif
 		continue;
 	    }
 
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2271,
+/**/
     2270,
 /**/
     2269,