aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-09-21 08:20:20 +0200
committerGitHub <noreply@github.com>2018-09-21 08:20:20 +0200
commitad6bbe44683cf936ec2268ee89e8e1c22f538ecc (patch)
treee639cb06834f05b90d513dd8f67a3a7191082543 /src/nvim/spell.c
parente55ebae3734068239c7070dd20ddc34b06c20a7c (diff)
parent01b2fa53f4593024437f5df25b7744b16b164e4f (diff)
downloadrneovim-ad6bbe44683cf936ec2268ee89e8e1c22f538ecc.tar.gz
rneovim-ad6bbe44683cf936ec2268ee89e8e1c22f538ecc.tar.bz2
rneovim-ad6bbe44683cf936ec2268ee89e8e1c22f538ecc.zip
Merge #9022 from janlazo/vim-8.0.1215
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r--src/nvim/spell.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index 970e50771d..518bd0922e 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -4204,7 +4204,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char_u *fword, bool so
}
PROF_STORE(sp->ts_state)
sp->ts_state = STATE_PLAIN;
- // FALLTHROUGH
+ FALLTHROUGH;
case STATE_PLAIN:
// Go over all possible bytes at this node, add each to tword[]
@@ -4386,7 +4386,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char_u *fword, bool so
break;
}
- // FALLTHROUGH
+ FALLTHROUGH;
case STATE_INS_PREP:
if (sp->ts_flags & TSF_DIDDEL) {
@@ -4416,7 +4416,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char_u *fword, bool so
}
break;
- // FALLTHROUGH
+ FALLTHROUGH;
case STATE_INS:
// Insert one byte. Repeat this for each possible byte at this
@@ -4552,7 +4552,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char_u *fword, bool so
memmove(p + MB_PTR2LEN(p + n), p, n);
utf_char2bytes(c, p);
- // FALLTHROUGH
+ FALLTHROUGH;
case STATE_SWAP3:
// Swap two bytes, skipping one: "123" -> "321". We change
@@ -4695,7 +4695,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char_u *fword, bool so
memmove(p, p + tl, n);
utf_char2bytes(c, p + n);
- // FALLTHROUGH
+ FALLTHROUGH;
case STATE_REP_INI:
// Check if matching with REP items from the .aff file would work.
@@ -4726,7 +4726,7 @@ static void suggest_trie_walk(suginfo_T *su, langp_T *lp, char_u *fword, bool so
PROF_STORE(sp->ts_state)
sp->ts_state = STATE_REP;
- // FALLTHROUGH
+ FALLTHROUGH;
case STATE_REP:
// Try matching with REP items from the .aff file. For each match