summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-22 21:19:39 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-22 21:19:39 +0100
commit89b474dd4f0de878b4c48eeb9e223f0c22ee1442 (patch)
treea8acb039b0d11217e2f4f3d8611b79cb47f4c4c9 /src/vim.h
parent3bdc90b7dfab314768a8f56454ea62929524f05c (diff)
downloadvim-git-89b474dd4f0de878b4c48eeb9e223f0c22ee1442.tar.gz
patch 8.2.2194: Vim9: cannot use :const or :final at the script levelv8.2.2194
Problem: Vim9: cannot use :const or :final at the script level. Solution: Support using :const and :final. (closes #7526)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim.h b/src/vim.h
index ebd7db441..1dedd8141 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2144,7 +2144,7 @@ typedef enum {
// Flags for assignment functions.
#define ASSIGN_FINAL 1 // ":final"
#define ASSIGN_CONST 2 // ":const"
-#define ASSIGN_NO_DECL 4 // "name = expr" without ":let" or ":const"
+#define ASSIGN_NO_DECL 4 // "name = expr" without ":let"/":const"/":final"
#include "ex_cmds.h" // Ex command defines
#include "spell.h" // spell checking stuff