0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1756: Vim9: :let will soon be disallowed

Problem:    Vim9: :let will soon be disallowed.
Solution:   Add v:disallow_let temporarily.  Fix tests.
This commit is contained in:
Bram Moolenaar
2020-09-27 15:19:27 +02:00
parent c0e29010f6
commit cfcd011fcd
7 changed files with 237 additions and 210 deletions

View File

@@ -1992,7 +1992,8 @@ typedef int sock_T;
#define VV_ECHOSPACE 93
#define VV_ARGV 94
#define VV_COLLATE 95
#define VV_LEN 96 // number of v: vars
#define VV_DISALLOW_LET 96 // TODO: remove again
#define VV_LEN 97 // number of v: vars
// used for v_number in VAR_BOOL and VAR_SPECIAL
#define VVAL_FALSE 0L // VAR_BOOL