Mercurial > vim
view src/proto/spellfile.pro @ 23923:be36288235af v8.2.2504
patch 8.2.2504: Vim9: crash when using an argument from a closure
Commit: https://github.com/vim/vim/commit/44ec21c467ddf481b422c787324ea08f375f6942
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 12 21:50:57 2021 +0100
patch 8.2.2504: Vim9: crash when using an argument from a closure
Problem: Vim9: crash when using an argument from a closure.
Solution: Check if gen_load_outer is NULL. (closes https://github.com/vim/vim/issues/7821)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Feb 2021 22:00:04 +0100 |
parents | 3dbff5d37520 |
children |
line wrap: on
line source
/* spellfile.c */ slang_T *spell_load_file(char_u *fname, char_u *lang, slang_T *old_lp, int silent); void suggest_load_files(void); int spell_check_msm(void); void ex_mkspell(exarg_T *eap); void mkspell(int fcount, char_u **fnames, int ascii, int over_write, int added_word); void ex_spell(exarg_T *eap); void spell_add_word(char_u *word, int len, int what, int idx, int undo); /* vim: set ft=c : */