Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
30583:fc88f4597670 | 30584:ee039a6049ff |
---|---|
2248 ESTACK_STACK, | 2248 ESTACK_STACK, |
2249 ESTACK_SCRIPT, | 2249 ESTACK_SCRIPT, |
2250 } estack_arg_T; | 2250 } estack_arg_T; |
2251 | 2251 |
2252 // Flags for assignment functions. | 2252 // Flags for assignment functions. |
2253 #define ASSIGN_VAR 0 // ":var" (nothing special) | |
2253 #define ASSIGN_FINAL 0x01 // ":final" | 2254 #define ASSIGN_FINAL 0x01 // ":final" |
2254 #define ASSIGN_CONST 0x02 // ":const" | 2255 #define ASSIGN_CONST 0x02 // ":const" |
2255 #define ASSIGN_NO_DECL 0x04 // "name = expr" without ":let"/":const"/":final" | 2256 #define ASSIGN_NO_DECL 0x04 // "name = expr" without ":let"/":const"/":final" |
2256 #define ASSIGN_DECL 0x08 // may declare variable if it does not exist | 2257 #define ASSIGN_DECL 0x08 // may declare variable if it does not exist |
2257 #define ASSIGN_UNPACK 0x10 // using [a, b] = list | 2258 #define ASSIGN_UNPACK 0x10 // using [a, b] = list |