Mercurial > vim
view src/proto/spellfile.pro @ 28273:fff70771d4bb v8.2.4662
patch 8.2.4662: no error for using out of range list index
Commit: https://github.com/vim/vim/commit/22ebd172e48ba060c8a7bae3dbf6480b7596d937
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 1 15:26:58 2022 +0100
patch 8.2.4662: no error for using out of range list index
Problem: No error for using out of range list index.
Solution: Check list index at script level like in compiled function.
(closes #10051)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 Apr 2022 16:30:03 +0200 |
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 : */