summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-30 11:04:50 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-30 11:04:50 +0100
commit6586a015144f15a979d573a79d91e700e4b3009f (patch)
treee276ff392ab6f428c169b2fb0b8646643109bd44 /src/vim.h
parentb152b6a40f729ed81a25d2fa541a4e73e201bec4 (diff)
patch 9.0.0627: "const" and "final" both make the type a constantv9.0.0627
Problem: "const" and "final" both make the type a constant. (Daniel Steinberg) Solution: Only have "const" make the type a constant.
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 8f1bf3335b..14f67f7b24 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2250,6 +2250,7 @@ typedef enum {
} estack_arg_T;
// Flags for assignment functions.
+#define ASSIGN_VAR 0 // ":var" (nothing special)
#define ASSIGN_FINAL 0x01 // ":final"
#define ASSIGN_CONST 0x02 // ":const"
#define ASSIGN_NO_DECL 0x04 // "name = expr" without ":let"/":const"/":final"