diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-09 21:47:10 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-09 21:47:10 +0200 |
commit | 9a91d2b72c20f213bbf77f27b7edd01e0e43d5e0 (patch) | |
tree | a7eeb41a66f128f991990a2d5785684423306349 /src/vim.h | |
parent | 1af0fbf955f799392f614bc38f9d2fcbd9960526 (diff) |
patch 9.1.0287: Vim9: comment may be treated as heredoc startv9.1.0287
Problem: Vim9: comment may be treated as heredoc start.
(Ernie Rael)
Solution: Use skip_var_list() instead of find_name_end().
(zeertzjq)
fixes: #14444
closes: #14446
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2818,7 +2818,6 @@ typedef int (*opt_expand_cb_T)(optexpand_T *args, int *numMatches, char_u ***mat // flags for find_name_end() #define FNE_INCL_BR 1 // include [] in name #define FNE_CHECK_START 2 // check name starts with valid character -#define FNE_ALLOW_CURLY 4 // always allow curly braces name // BSD is supposed to cover FreeBSD and similar systems. #if (defined(SUN_SYSTEM) || defined(BSD) || defined(__FreeBSD_kernel__)) \ |