projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e1bebe
)
Pacify GCC 7 with --enable-gcc-warnings
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 16 May 2017 20:24:33 +0000
(13:24 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 16 May 2017 20:24:52 +0000
(13:24 -0700)
* src/regex.c (regex_compile): Swap labels, so that the
FALLTHROUGH immediately precedes the case label.
src/regex.c
patch
|
blob
|
history
diff --git
a/src/regex.c
b/src/regex.c
index ed848902086294ba109d059edf0945c20e742c52..240a91f2ba83e69a2a9ff184e14f9d8bbd233a7e 100644
(file)
--- a/
src/regex.c
+++ b/
src/regex.c
@@
-2637,8
+2637,8
@@
regex_compile (const_re_char *pattern, size_t size,
|| (syntax & RE_LIMITED_OPS))
goto normal_char;
FALLTHROUGH;
- handle_plus:
case '*':
+ handle_plus:
/* If there is no previous pattern... */
if (!laststart)
{