Mercurial > vim
comparison src/globals.h @ 20840:0600ab7b9f09 v8.2.0972
patch 8.2.0972: Vim9 script variable declarations need a type
Commit: https://github.com/vim/vim/commit/c82a5b5da5eab15bc35115545b639fb590272ad7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 13 18:09:19 2020 +0200
patch 8.2.0972: Vim9 script variable declarations need a type
Problem: Vim9 script variable declarations need a type.
Solution: Make "let var: type" declare a script-local variable.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Jun 2020 18:15:03 +0200 |
parents | 2616c5a337e0 |
children | 1725bb56178a |
comparison
equal
deleted
inserted
replaced
20839:7c1e92b152ed | 20840:0600ab7b9f09 |
---|---|
1783 EXTERN char e_white_both[] INIT(= N_("E1004: white space required before and after '%s'")); | 1783 EXTERN char e_white_both[] INIT(= N_("E1004: white space required before and after '%s'")); |
1784 EXTERN char e_white_after[] INIT(= N_("E1069: white space required after '%s'")); | 1784 EXTERN char e_white_after[] INIT(= N_("E1069: white space required after '%s'")); |
1785 EXTERN char e_no_white_before[] INIT(= N_("E1068: No white space allowed before '%s'")); | 1785 EXTERN char e_no_white_before[] INIT(= N_("E1068: No white space allowed before '%s'")); |
1786 | 1786 |
1787 EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s")); | 1787 EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s")); |
1788 EXTERN char e_const_req_value[] INIT(= N_("E1021: const requires a value")); | |
1789 EXTERN char e_type_req[] INIT(= N_("E1022: type or initialization required")); | |
1788 #endif | 1790 #endif |
1789 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) | 1791 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) |
1790 EXTERN char e_alloc_color[] INIT(= N_("E254: Cannot allocate color %s")); | 1792 EXTERN char e_alloc_color[] INIT(= N_("E254: Cannot allocate color %s")); |
1791 #endif | 1793 #endif |
1792 | 1794 |