comparison src/vim.h @ 23297:40f1d3f0c53e v8.2.2194

patch 8.2.2194: Vim9: cannot use :const or :final at the script level Commit: https://github.com/vim/vim/commit/89b474dd4f0de878b4c48eeb9e223f0c22ee1442 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 22 21:19:39 2020 +0100 patch 8.2.2194: Vim9: cannot use :const or :final at the script level Problem: Vim9: cannot use :const or :final at the script level. Solution: Support using :const and :final. (closes https://github.com/vim/vim/issues/7526)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Dec 2020 21:30:04 +0100
parents a789a688e37d
children 3105546b941f
comparison
equal deleted inserted replaced
23296:c9123e2447bc 23297:40f1d3f0c53e
2142 } estack_arg_T; 2142 } estack_arg_T;
2143 2143
2144 // Flags for assignment functions. 2144 // Flags for assignment functions.
2145 #define ASSIGN_FINAL 1 // ":final" 2145 #define ASSIGN_FINAL 1 // ":final"
2146 #define ASSIGN_CONST 2 // ":const" 2146 #define ASSIGN_CONST 2 // ":const"
2147 #define ASSIGN_NO_DECL 4 // "name = expr" without ":let" or ":const" 2147 #define ASSIGN_NO_DECL 4 // "name = expr" without ":let"/":const"/":final"
2148 2148
2149 #include "ex_cmds.h" // Ex command defines 2149 #include "ex_cmds.h" // Ex command defines
2150 #include "spell.h" // spell checking stuff 2150 #include "spell.h" // spell checking stuff
2151 2151
2152 #include "proto.h" // function prototypes 2152 #include "proto.h" // function prototypes