summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-09 21:47:10 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-09 21:47:10 +0200
commit9a91d2b72c20f213bbf77f27b7edd01e0e43d5e0 (patch)
treea7eeb41a66f128f991990a2d5785684423306349 /src/eval.c
parent1af0fbf955f799392f614bc38f9d2fcbd9960526 (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/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 187b4d4d87..e4c8baefb3 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -6894,7 +6894,7 @@ find_name_end(
int br_nest = 0;
char_u *p;
int len;
- int allow_curly = (flags & FNE_ALLOW_CURLY) || !in_vim9script();
+ int allow_curly = !in_vim9script();
if (expr_start != NULL)
{