diff options
| author | Paul Eggert | 2020-05-23 12:55:13 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-05-23 12:55:32 -0700 |
| commit | e021c2dc2279e0fd3a5331f9ea661e4d39c2e840 (patch) | |
| tree | 86125503ebc417a024133e22f1b013cbaa57f30c /lib-src | |
| parent | 9e977c497257ff13bfb2579f8a14ca9b43791115 (diff) | |
| download | emacs-e021c2dc2279e0fd3a5331f9ea661e4d39c2e840.tar.gz emacs-e021c2dc2279e0fd3a5331f9ea661e4d39c2e840.zip | |
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.c | 2 |
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) | |||
| 4197 | break; | 4197 | break; |
| 4198 | } | 4198 | } |
| 4199 | FALLTHROUGH; | 4199 | FALLTHROUGH; |
| 4200 | resetfvdef: | ||
| 4201 | case '#': case '~': case '&': case '%': case '/': | 4200 | case '#': case '~': case '&': case '%': case '/': |
| 4202 | case '|': case '^': case '!': case '.': case '?': | 4201 | case '|': case '^': case '!': case '.': case '?': |
| 4202 | resetfvdef: | ||
| 4203 | if (definedef != dnone) | 4203 | if (definedef != dnone) |
| 4204 | break; | 4204 | break; |
| 4205 | /* These surely cannot follow a function tag in C. */ | 4205 | /* These surely cannot follow a function tag in C. */ |