Mercurial > vim
comparison src/errors.h @ 27690:fae9567b8024 v8.2.4371
patch 8.2.4371: Vim9: can create a script variable from a legacy function
Commit: https://github.com/vim/vim/commit/75e27d78f5370e7d2e0898326d9b080937e7b090
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 13 13:56:29 2022 +0000
patch 8.2.4371: Vim9: can create a script variable from a legacy function
Problem: Vim9: can create a script variable from a legacy function.
Solution: Disallow creating a script variable from a function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Feb 2022 15:00:03 +0100 |
parents | 5c4ab8d4472c |
children | 4097434c7c67 |
comparison
equal
deleted
inserted
replaced
27689:162c1a47e616 | 27690:fae9567b8024 |
---|---|
3232 #ifdef FEAT_EVAL | 3232 #ifdef FEAT_EVAL |
3233 EXTERN char e_function_name_must_start_with_capital_str[] | 3233 EXTERN char e_function_name_must_start_with_capital_str[] |
3234 INIT(= N_("E1267: Function name must start with a capital: %s")); | 3234 INIT(= N_("E1267: Function name must start with a capital: %s")); |
3235 EXTERN char e_cannot_use_s_colon_in_vim9_script_str[] | 3235 EXTERN char e_cannot_use_s_colon_in_vim9_script_str[] |
3236 INIT(= N_("E1268: Cannot use s: in Vim9 script: %s")); | 3236 INIT(= N_("E1268: Cannot use s: in Vim9 script: %s")); |
3237 #endif | 3237 EXTERN char e_cannot_create_vim9_script_variable_in_function_str[] |
3238 INIT(= N_("E1269: Cannot create a Vim9 script variable in a function: %s")); | |
3239 #endif |