Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
22414:f22c7b159f37 | 22415:1cefe1c013ac |
---|---|
1990 #define VV_EVENT 91 | 1990 #define VV_EVENT 91 |
1991 #define VV_VERSIONLONG 92 | 1991 #define VV_VERSIONLONG 92 |
1992 #define VV_ECHOSPACE 93 | 1992 #define VV_ECHOSPACE 93 |
1993 #define VV_ARGV 94 | 1993 #define VV_ARGV 94 |
1994 #define VV_COLLATE 95 | 1994 #define VV_COLLATE 95 |
1995 #define VV_LEN 96 // number of v: vars | 1995 #define VV_DISALLOW_LET 96 // TODO: remove again |
1996 #define VV_LEN 97 // number of v: vars | |
1996 | 1997 |
1997 // used for v_number in VAR_BOOL and VAR_SPECIAL | 1998 // used for v_number in VAR_BOOL and VAR_SPECIAL |
1998 #define VVAL_FALSE 0L // VAR_BOOL | 1999 #define VVAL_FALSE 0L // VAR_BOOL |
1999 #define VVAL_TRUE 1L // VAR_BOOL | 2000 #define VVAL_TRUE 1L // VAR_BOOL |
2000 #define VVAL_NONE 2L // VAR_SPECIAL | 2001 #define VVAL_NONE 2L // VAR_SPECIAL |