diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-12 19:52:25 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-12 19:52:25 +0000 |
commit | a749a42ed25534c88c636e5ab6603f1f97b857a4 (patch) | |
tree | 2458c780205a1f80efd0e579ed2f75346a4d2085 /src/vim9compile.c | |
parent | 6e28703a8e41f775f64e442c5d11ce1ff599aa3f (diff) | |
download | vim-git-8.2.4360.tar.gz |
patch 8.2.4360: Vim9: allowing use of "s:" leads to inconsistenciesv8.2.4360
Problem: Vim9: allowing use of "s:" leads to inconsistencies.
Solution: Disallow using "s:" in Vim9 script at the script level.
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 265ea665b..3a70f7a0f 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -1394,7 +1394,7 @@ compile_lhs( if (is_decl) { if (script_namespace) - semsg(_(e_cannot_declare_script_variable_in_function), + semsg(_(e_cannot_declare_script_variable_in_function_str), lhs->lhs_name); else semsg(_(e_variable_already_declared_in_script_str), |