Mercurial > vim
comparison src/globals.h @ 20982:bb49b5090a9c v8.2.1042
patch 8.2.1042: Vim9: cannot put an operator on the next line
Commit: https://github.com/vim/vim/commit/df069eec3b90401e880e9b0e258146d8f36c474d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 22 23:02:51 2020 +0200
patch 8.2.1042: Vim9: cannot put an operator on the next line
Problem: Vim9: cannot put an operator on the next line.
Solution: Require a colon before a range to see if that causes problems.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 22 Jun 2020 23:15:04 +0200 |
parents | 0e01976dfd3b |
children | 7ee565134d4a |
comparison
equal
deleted
inserted
replaced
20981:6e0166b4443d | 20982:bb49b5090a9c |
---|---|
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_var[] INIT(= N_("E1016: Cannot declare a %s variable: %s")); | 1791 EXTERN char e_declare_var[] INIT(= N_("E1016: Cannot declare a %s variable: %s")); |
1792 EXTERN char e_declare_env_var[] INIT(= N_("E1016: Cannot declare an environment variable: %s")); | 1792 EXTERN char e_declare_env_var[] INIT(= N_("E1016: Cannot declare an environment variable: %s")); |
1793 EXTERN char e_colon_required[] INIT(= N_("E1050: Colon required before a range")); | |
1793 #endif | 1794 #endif |
1794 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) | 1795 #if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) |
1795 EXTERN char e_alloc_color[] INIT(= N_("E254: Cannot allocate color %s")); | 1796 EXTERN char e_alloc_color[] INIT(= N_("E254: Cannot allocate color %s")); |
1796 #endif | 1797 #endif |
1797 | 1798 |