summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-05-23 12:55:13 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-05-23 12:55:32 -0700
commite021c2dc2279e0fd3a5331f9ea661e4d39c2e840 (patch)
tree86125503ebc417a024133e22f1b013cbaa57f30c /lib-src
parent9e977c497257ff13bfb2579f8a14ca9b43791115 (diff)
downloademacs-e021c2dc2279e0fd3a5331f9ea661e4d39c2e840.tar.gz
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.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c2
1 files changed, 1 insertions, 1 deletions
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. */