comparison src/spellfile.c @ 26771:fc859aea8cec v8.2.3914

patch 8.2.3914: various spelling mistakes in comments Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Mon Dec 27 17:21:41 2021 +0000 patch 8.2.3914: various spelling mistakes in comments Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 18:30:05 +0100
parents 3af0359e8a42
children 806f31579357
comparison
equal deleted inserted replaced
26770:15ff3f2e0d58 26771:fc859aea8cec
4918 4918
4919 // SN_CHARFLAGS: <charflagslen> <charflags> <folcharslen> <folchars> 4919 // SN_CHARFLAGS: <charflagslen> <charflags> <folcharslen> <folchars>
4920 // 4920 //
4921 // The table with character flags and the table for case folding. 4921 // The table with character flags and the table for case folding.
4922 // This makes sure the same characters are recognized as word characters 4922 // This makes sure the same characters are recognized as word characters
4923 // when generating an when using a spell file. 4923 // when generating and when using a spell file.
4924 // Skip this for ASCII, the table may conflict with the one used for 4924 // Skip this for ASCII, the table may conflict with the one used for
4925 // 'encoding'. 4925 // 'encoding'.
4926 // Also skip this for an .add.spl file, the main spell file must contain 4926 // Also skip this for an .add.spl file, the main spell file must contain
4927 // the table (avoids that it conflicts). File is shorter too. 4927 // the table (avoids that it conflicts). File is shorter too.
4928 if (!spin->si_ascii && !spin->si_add) 4928 if (!spin->si_ascii && !spin->si_add)
5718 gap->ga_data, gap->ga_len, TRUE) == FAIL) 5718 gap->ga_data, gap->ga_len, TRUE) == FAIL)
5719 return -1; 5719 return -1;
5720 ++wordnr; 5720 ++wordnr;
5721 5721
5722 // Remove extra NUL entries, we no longer need them. We don't 5722 // Remove extra NUL entries, we no longer need them. We don't
5723 // bother freeing the nodes, the won't be reused anyway. 5723 // bother freeing the nodes, they won't be reused anyway.
5724 while (p->wn_sibling != NULL && p->wn_sibling->wn_byte == NUL) 5724 while (p->wn_sibling != NULL && p->wn_sibling->wn_byte == NUL)
5725 p->wn_sibling = p->wn_sibling->wn_sibling; 5725 p->wn_sibling = p->wn_sibling->wn_sibling;
5726 5726
5727 // Clear the flags on the remaining NUL node, so that compression 5727 // Clear the flags on the remaining NUL node, so that compression
5728 // works a lot better. 5728 // works a lot better.