mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
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.
This commit is contained in:
parent
9e977c4972
commit
e021c2dc22
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user