From 6586a015144f15a979d573a79d91e700e4b3009f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 30 Sep 2022 11:04:50 +0100 Subject: patch 9.0.0627: "const" and "final" both make the type a constant Problem: "const" and "final" both make the type a constant. (Daniel Steinberg) Solution: Only have "const" make the type a constant. --- src/vim.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vim.h') 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" -- cgit v1.2.3