diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-24 13:54:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-24 13:54:45 +0000 |
commit | acc4b5648b49ec13c4f35ee0bf552eda71b0c372 (patch) | |
tree | 1d39323dfdfb6cec204d7a342dc6a70bf010fb91 /src/vim.h | |
parent | 8e4af851fd3eff4b22fca962e5be783742e8f1bb (diff) |
patch 8.2.4202: Vim9: cannot export function that exists globallyv8.2.4202
Problem: Vim9: cannot export function that exists globally.
Solution: When checking if a function already exists only check for
script-local functions. (closes #9615)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2798,4 +2798,8 @@ long elapsed(DWORD start_tick); #define VSE_SHELL 1 // escape for a shell command #define VSE_BUFFER 2 // escape for a ":buffer" command +// Flags used by find_func_even_dead() +#define FFED_IS_GLOBAL 1 // "g:" was used +#define FFED_NO_GLOBAL 2 // only check for script-local functions + #endif // VIM__H |