diff src/vim.h @ 22415:1cefe1c013ac v8.2.1756

patch 8.2.1756: Vim9: :let will soon be disallowed Commit: https://github.com/vim/vim/commit/cfcd011fcd8021da52fba62dabf7a2497f1879b7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 27 15:19:27 2020 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Sep 2020 15:30:04 +0200
parents a9fb7efa31d6
children fba5ccf33794
line wrap: on
line diff
--- a/src/vim.h
+++ b/src/vim.h
@@ -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