Mercurial > vim
comparison src/evalfunc.c @ 27986:c724906134a3 v8.2.4518
patch 8.2.4518: the binary tag search feature is always enabled
Commit: https://github.com/vim/vim/commit/655b734ee858e90dd8d28549b7704a71b25d30e7
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun Mar 6 14:27:10 2022 +0000
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Mar 2022 15:30:06 +0100 |
parents | 1b75d767d9e4 |
children | 2fd2ce8a556c |
comparison
equal
deleted
inserted
replaced
27985:719dc5b9fc6e | 27986:c724906134a3 |
---|---|
4380 s = NULL; | 4380 s = NULL; |
4381 } | 4381 } |
4382 | 4382 |
4383 if (s == NULL || *s == NUL || (use_string && VIM_ISDIGIT(*s)) | 4383 if (s == NULL || *s == NUL || (use_string && VIM_ISDIGIT(*s)) |
4384 || (is_funcref && trans_name == NULL)) | 4384 || (is_funcref && trans_name == NULL)) |
4385 semsg(_(e_invalid_argument_str), use_string ? tv_get_string(&argvars[0]) : s); | 4385 semsg(_(e_invalid_argument_str), |
4386 use_string ? tv_get_string(&argvars[0]) : s); | |
4386 // Don't check an autoload name for existence here. | 4387 // Don't check an autoload name for existence here. |
4387 else if (trans_name != NULL && (is_funcref | 4388 else if (trans_name != NULL && (is_funcref |
4388 ? find_func(trans_name, is_global) == NULL | 4389 ? find_func(trans_name, is_global) == NULL |
4389 : !translated_function_exists(trans_name, is_global))) | 4390 : !translated_function_exists(trans_name, is_global))) |
4390 semsg(_(e_unknown_function_str_2), s); | 4391 semsg(_(e_unknown_function_str_2), s); |
6099 1 | 6100 1 |
6100 #else | 6101 #else |
6101 0 | 6102 0 |
6102 #endif | 6103 #endif |
6103 }, | 6104 }, |
6104 {"tag_binary", | 6105 {"tag_binary", 1}, // graduated feature |
6105 #ifdef FEAT_TAG_BINS | |
6106 1 | |
6107 #else | |
6108 0 | |
6109 #endif | |
6110 }, | |
6111 {"tcl", | 6106 {"tcl", |
6112 #if defined(FEAT_TCL) && !defined(DYNAMIC_TCL) | 6107 #if defined(FEAT_TCL) && !defined(DYNAMIC_TCL) |
6113 1 | 6108 1 |
6114 #else | 6109 #else |
6115 0 | 6110 0 |