diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-03-06 14:27:10 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-06 14:27:10 +0000 |
commit | 655b734ee858e90dd8d28549b7704a71b25d30e7 (patch) | |
tree | a18d58d13ad674adfc569675fe1b7979b8fe3846 /src/evalfunc.c | |
parent | 9eccee0e856e9fc77c343028b516dfe5df8fd1ed (diff) |
patch 8.2.4518: the binary tag search feature is always enabledv8.2.4518
Problem: The binary tag search feature is always enabled.
Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
closes #9893)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 1b93200367..39a2fd2766 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -4382,7 +4382,8 @@ common_function(typval_T *argvars, typval_T *rettv, int is_funcref) 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 @@ f_has(typval_T *argvars, typval_T *rettv) 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 |