Mercurial > vim
comparison src/globals.h @ 20953:6b4b887a12f0 v8.2.1028
patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable
Commit: https://github.com/vim/vim/commit/e55b1c098d9dc04c960e6575bb554b5130af8989
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 21 15:52:59 2020 +0200
patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable
Problem: Vim9: no error for declaring buffer, window, etc. variable.
Solution: Give an error. Unify the error messages.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Jun 2020 16:00:04 +0200 |
parents | 0653b9b72091 |
children | 0e01976dfd3b |
comparison
equal
deleted
inserted
replaced
20952:c297dfafbc7d | 20953:6b4b887a12f0 |
---|---|
1786 EXTERN char e_no_white_before[] INIT(= N_("E1068: No white space allowed before '%s'")); | 1786 EXTERN char e_no_white_before[] INIT(= N_("E1068: No white space allowed before '%s'")); |
1787 | 1787 |
1788 EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s")); | 1788 EXTERN char e_lock_unlock[] INIT(= N_("E940: Cannot lock or unlock variable %s")); |
1789 EXTERN char e_const_req_value[] INIT(= N_("E1021: const requires a value")); | 1789 EXTERN char e_const_req_value[] INIT(= N_("E1021: const requires a value")); |
1790 EXTERN char e_type_req[] INIT(= N_("E1022: type or initialization required")); | 1790 EXTERN char e_type_req[] INIT(= N_("E1022: type or initialization required")); |
1791 EXTERN char e_declare_global[] INIT(= N_("E1016: Cannot declare a global variable: %s")); | 1791 EXTERN char e_declare_var[] INIT(= N_("E1016: Cannot declare a%s variable: %s")); |
1792 #endif | 1792 #endif |
1793 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) | 1793 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) |
1794 EXTERN char e_alloc_color[] INIT(= N_("E254: Cannot allocate color %s")); | 1794 EXTERN char e_alloc_color[] INIT(= N_("E254: Cannot allocate color %s")); |
1795 #endif | 1795 #endif |
1796 | 1796 |