Mercurial > vim
diff src/vim.h @ 30584:ee039a6049ff v9.0.0627
patch 9.0.0627: "const" and "final" both make the type a constant
Commit: https://github.com/vim/vim/commit/6586a015144f15a979d573a79d91e700e4b3009f
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 30 11:04:50 2022 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Sep 2022 12:15:04 +0200 |
parents | c0f0118b6790 |
children | 101f08b49ed3 |
line wrap: on
line diff
--- 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"