summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-02 16:25:47 +0100
committerBram Moolenaar <Bram@vim.org>2023-05-02 16:25:47 +0100
commita93d9cdc74f70ca2c85781496ffae4ca738fcd88 (patch)
tree25c7b84548c6fccafd119edb84807db998351f1f /src/vim.h
parent17b695190d63b2de745499cb40a383c2672e275e (diff)
patch 9.0.1505: error when heredoc content looks like heredocv9.0.1505
Problem: Error when heredoc content looks like heredoc. Solution: Handle curly expressions. (closes #12325)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 656bcc9dab..4e0f2cd12e 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2758,6 +2758,7 @@ typedef char *(*opt_did_set_cb_T)(optset_T *args);
// 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__)) \