diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-01 22:16:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-01 22:16:43 +0200 |
commit | eef2102e20d24f5fbd1c9f53c7a35df61585c5ab (patch) | |
tree | 1bfa42d3637ea2b19021b1a7f6e859791f343ad4 /src/globals.h | |
parent | e4218b9416bdcd78b9779a06258198573a0c369e (diff) |
patch 8.2.1349: Vim9: can define a function with the name of an importv8.2.1349
Problem: Vim9: can define a function with the name of an import.
Solution: Disallow using an existing name. (closes #6585)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index a0ebc4506a..cc01ac2508 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1746,6 +1746,7 @@ EXTERN char e_missing_dict_colon[] INIT(= N_("E720: Missing colon in Dictionary: EXTERN char e_duplicate_key[] INIT(= N_("E721: Duplicate key in Dictionary: \"%s\"")); EXTERN char e_missing_dict_comma[] INIT(= N_("E722: Missing comma in Dictionary: %s")); EXTERN char e_missing_dict_end[] INIT(= N_("E723: Missing end of Dictionary '}': %s")); +EXTERN char e_already_defined[] INIT(= N_("E1073: name already defined: %s")); #endif #ifdef FEAT_CLIENTSERVER EXTERN char e_invexprmsg[] INIT(= N_("E449: Invalid expression received")); |