patch 8.2.4518: the binary tag search feature is always enabled
Problem: The binary tag search feature is always enabled.
Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
closes #9893)
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 1b93200..39a2fd2 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -4382,7 +4382,8 @@
if (s == NULL || *s == NUL || (use_string && VIM_ISDIGIT(*s))
|| (is_funcref && trans_name == NULL))
- semsg(_(e_invalid_argument_str), use_string ? tv_get_string(&argvars[0]) : s);
+ semsg(_(e_invalid_argument_str),
+ use_string ? tv_get_string(&argvars[0]) : s);
// Don't check an autoload name for existence here.
else if (trans_name != NULL && (is_funcref
? find_func(trans_name, is_global) == NULL
@@ -6101,13 +6102,7 @@
0
#endif
},
- {"tag_binary",
-#ifdef FEAT_TAG_BINS
- 1
-#else
- 0
-#endif
- },
+ {"tag_binary", 1}, // graduated feature
{"tcl",
#if defined(FEAT_TCL) && !defined(DYNAMIC_TCL)
1