summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-21 20:37:05 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-21 20:37:05 +0000
commit19e69a63302f7f8972cee723bf0f3fc176825583 (patch)
tree8949aec7d7121ab4543c97cb756bb99e5695b085 /src/errors.h
parente70dd11ef41f69bd5e94f630194e6b3c4f3f2102 (diff)
patch 8.2.4174: Vim9: can use an autoload name in normal scriptv8.2.4174
Problem: Vim9: can use an autoload name in normal script. Solution: Disallow using an autoload name.
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index 3fd265f43d..e632d5b240 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3209,7 +3209,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"));
-// E1263 unused
+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_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[]