comparison src/vim.h @ 23450:a8e7acf71fa4 v8.2.2268

patch 8.2.2268: Vim9: list unpack seen as declaration Commit: https://github.com/vim/vim/commit/3862ea3f620f02569c2d816ca9ceeeac3a0ad901 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 1 21:05:55 2021 +0100 patch 8.2.2268: Vim9: list unpack seen as declaration Problem: Vim9: list unpack seen as declaration. Solution: Check for "var". (closes https://github.com/vim/vim/issues/7594)
author Bram Moolenaar <Bram@vim.org>
date Fri, 01 Jan 2021 21:15:04 +0100
parents 3105546b941f
children 1f85acfb23cd
comparison
equal deleted inserted replaced
23449:f04821549e6f 23450:a8e7acf71fa4
2144 2144
2145 // Flags for assignment functions. 2145 // Flags for assignment functions.
2146 #define ASSIGN_FINAL 1 // ":final" 2146 #define ASSIGN_FINAL 1 // ":final"
2147 #define ASSIGN_CONST 2 // ":const" 2147 #define ASSIGN_CONST 2 // ":const"
2148 #define ASSIGN_NO_DECL 4 // "name = expr" without ":let"/":const"/":final" 2148 #define ASSIGN_NO_DECL 4 // "name = expr" without ":let"/":const"/":final"
2149 #define ASSIGN_DECL 8 // may declare variable if it does not exist
2149 2150
2150 #include "ex_cmds.h" // Ex command defines 2151 #include "ex_cmds.h" // Ex command defines
2151 #include "spell.h" // spell checking stuff 2152 #include "spell.h" // spell checking stuff
2152 2153
2153 #include "proto.h" // function prototypes 2154 #include "proto.h" // function prototypes