Mercurial > vim
view src/proto/spell.pro @ 8787:33f5732d8932 v7.4.1682
commit https://github.com/vim/vim/commit/72188e9aae26e6191c68ff673ef145104b17c64f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 28 22:48:29 2016 +0200
patch 7.4.1682
Problem: Coverity: no check for NULL.
Solution: Add check for invalid argument to assert_match().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 28 Mar 2016 23:00:05 +0200 |
parents | 21b0a39d13ed |
children | b0c7061d6439 |
line wrap: on
line source
/* spell.c */ int spell_check(win_T *wp, char_u *ptr, hlf_T *attrp, int *capcol, int docount); int spell_move_to(win_T *wp, int dir, int allwords, int curline, hlf_T *attrp); void spell_cat_line(char_u *buf, char_u *line, int maxlen); char_u *did_set_spelllang(win_T *wp); void spell_delete_wordlist(void); void spell_free_all(void); void spell_reload(void); int spell_check_msm(void); void ex_mkspell(exarg_T *eap); void ex_spell(exarg_T *eap); void spell_add_word(char_u *word, int len, int bad, int idx, int undo); void init_spell_chartab(void); int spell_check_sps(void); void spell_suggest(int count); void ex_spellrepall(exarg_T *eap); void spell_suggest_list(garray_T *gap, char_u *word, int maxcount, int need_cap, int interactive); char_u *eval_soundfold(char_u *word); void ex_spellinfo(exarg_T *eap); void ex_spelldump(exarg_T *eap); void spell_dump_compl(char_u *pat, int ic, int *dir, int dumpflags_arg); char_u *spell_to_word_end(char_u *start, win_T *win); int spell_word_start(int startcol); void spell_expand_check_cap(colnr_T col); int expand_spelling(linenr_T lnum, char_u *pat, char_u ***matchp); /* vim: set ft=c : */