diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-09-13 01:33:53 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-09-13 08:25:20 -0400 |
commit | 476c50903a38a2ab85546c6f061117950d6e79fc (patch) | |
tree | ac1657af6803e98c9fb537fef13ad5827eb10b37 /src/nvim/regexp.c | |
parent | cc049a5612a08b810f5897f7b108e0cdaba445b7 (diff) | |
download | rneovim-476c50903a38a2ab85546c6f061117950d6e79fc.tar.gz rneovim-476c50903a38a2ab85546c6f061117950d6e79fc.tar.bz2 rneovim-476c50903a38a2ab85546c6f061117950d6e79fc.zip |
vim-patch:8.1.0499: :2vimgrep causes an ml_get error
Problem: :2vimgrep causes an ml_get error
Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/1c29943416207e21abbc790eaf563b36789170c2
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r-- | src/nvim/regexp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index bcf02af4ef..a570328499 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -7387,6 +7387,7 @@ long vim_regexec_multi( proftime_T *tm, // timeout limit or NULL int *timed_out // flag is set when timeout limit reached ) + FUNC_ATTR_NONNULL_ARG(1) { regexec_T rex_save; bool rex_in_use_save = rex_in_use; |