vim-patch:8.0.1215: newer gcc warns for implicit fallthrough

Problem:    Newer gcc warns for implicit fallthrough.
Solution:   Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2f40d129bf
This commit is contained in:
Jan Edmund Lazo
2018-09-20 06:32:15 -04:00
parent 47d74bf32f
commit 6a329b0548
11 changed files with 32 additions and 30 deletions

View File

@@ -1221,7 +1221,7 @@ static int nfa_regatom(void)
goto collection;
/* "\_x" is character class plus newline */
/*FALLTHROUGH*/
FALLTHROUGH;
/*
* Character classes.
@@ -4209,7 +4209,7 @@ skip_add:
subs = addstate(l, state->out, subs, pim, off_arg);
break;
}
// fallthrough
FALLTHROUGH;
case NFA_MCLOSE1:
case NFA_MCLOSE2:
case NFA_MCLOSE3: