diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-30 18:40:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-30 18:40:44 +0000 |
commit | d8fe6d34bb582438142d7c1f73d0bd8537bb3a7a (patch) | |
tree | 63ca64be3661a25c0892d6a232431d8140c5d9b7 /src/errors.h | |
parent | ec3637cbaf23730b6efe5e5c0047e23adc82160b (diff) |
patch 8.2.4264: Vim9: can use old style autoload function namev8.2.4264
Problem: Vim9: can use old style autoload function name.
Solution: Give an error for old style autoload function name.
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errors.h b/src/errors.h index 7e6d0dbd18..9a5da9c0de 100644 --- a/src/errors.h +++ b/src/errors.h @@ -3218,8 +3218,8 @@ EXTERN char e_cannot_import_dot_vim_without_using_as[] INIT(= N_("E1261: Cannot import .vim without using \"as\"")); EXTERN char e_cannot_import_same_script_twice_str[] INIT(= N_("E1262: Cannot import the same script twice: %s")); -EXTERN char e_using_autoload_name_in_non_autoload_script_str[] - INIT(= N_("E1263: Using autoload name in a non-autoload script: %s")); +EXTERN char e_cannot_use_name_with_hash_in_vim9_script_use_export_instead[] + INIT(= N_("E1263: cannot use name with # in Vim9 script, use export instead")); EXTERN char e_autoload_import_cannot_use_absolute_or_relative_path[] INIT(= N_("E1264: Autoload import cannot use absolute or relative path: %s")); EXTERN char e_cannot_use_partial_here[] |