Mercurial > vim
comparison src/errors.h @ 27472:55613f0d59bc v8.2.4264
patch 8.2.4264: Vim9: can use old style autoload function name
Commit: https://github.com/vim/vim/commit/d8fe6d34bb582438142d7c1f73d0bd8537bb3a7a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 30 18:40:44 2022 +0000
patch 8.2.4264: Vim9: can use old style autoload function name
Problem: Vim9: can use old style autoload function name.
Solution: Give an error for old style autoload function name.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 30 Jan 2022 19:45:03 +0100 |
parents | 4c683d6c0a9d |
children | 92fe6aca4907 |
comparison
equal
deleted
inserted
replaced
27471:769fe460984e | 27472:55613f0d59bc |
---|---|
3216 INIT(= N_("E1260: Cannot unlet an imported item: %s")); | 3216 INIT(= N_("E1260: Cannot unlet an imported item: %s")); |
3217 EXTERN char e_cannot_import_dot_vim_without_using_as[] | 3217 EXTERN char e_cannot_import_dot_vim_without_using_as[] |
3218 INIT(= N_("E1261: Cannot import .vim without using \"as\"")); | 3218 INIT(= N_("E1261: Cannot import .vim without using \"as\"")); |
3219 EXTERN char e_cannot_import_same_script_twice_str[] | 3219 EXTERN char e_cannot_import_same_script_twice_str[] |
3220 INIT(= N_("E1262: Cannot import the same script twice: %s")); | 3220 INIT(= N_("E1262: Cannot import the same script twice: %s")); |
3221 EXTERN char e_using_autoload_name_in_non_autoload_script_str[] | 3221 EXTERN char e_cannot_use_name_with_hash_in_vim9_script_use_export_instead[] |
3222 INIT(= N_("E1263: Using autoload name in a non-autoload script: %s")); | 3222 INIT(= N_("E1263: cannot use name with # in Vim9 script, use export instead")); |
3223 EXTERN char e_autoload_import_cannot_use_absolute_or_relative_path[] | 3223 EXTERN char e_autoload_import_cannot_use_absolute_or_relative_path[] |
3224 INIT(= N_("E1264: Autoload import cannot use absolute or relative path: %s")); | 3224 INIT(= N_("E1264: Autoload import cannot use absolute or relative path: %s")); |
3225 EXTERN char e_cannot_use_partial_here[] | 3225 EXTERN char e_cannot_use_partial_here[] |
3226 INIT(= N_("E1265: Cannot use a partial here")); | 3226 INIT(= N_("E1265: Cannot use a partial here")); |
3227 #endif | 3227 #endif |