From: Paul Eggert Date: Sat, 23 May 2020 19:55:13 +0000 (-0700) Subject: Port etags FALLTHROUGH to C2X X-Git-Tag: emacs-28.0.90~7289 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e021c2dc2279e0fd3a5331f9ea661e4d39c2e840;p=emacs.git Port etags FALLTHROUGH to C2X Problem reported by Ashish SHUKLA in: https://lists.gnu.org/r/emacs-devel/2020-05/msg03013.html * lib-src/etags.c (C_entries): Move label so that FALLTHROUGH precedes a case label, as draft C2X specifies. --- diff --git a/lib-src/etags.c b/lib-src/etags.c index eee2c596262..4672e3491da 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -4197,9 +4197,9 @@ C_entries (int c_ext, FILE *inf) break; } FALLTHROUGH; - resetfvdef: case '#': case '~': case '&': case '%': case '/': case '|': case '^': case '!': case '.': case '?': + resetfvdef: if (definedef != dnone) break; /* These surely cannot follow a function tag in C. */