regex: work with GCC7's -Werror=implicit-fallthrough=
commitf77957607778040b1ded790fa83768602f16daa1
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Jul 2017 16:12:29 +0000 (26 09:12 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Jul 2017 16:13:07 +0000 (26 09:13 -0700)
tree8f0a2cc1b9421cb3e298e3765af7238d89fa47c2
parente66b0b94e7239fb47c9ccc2c704bb1149164d6ed
regex: work with GCC7's -Werror=implicit-fallthrough=

* lib/regex_internal.h (FALLTHROUGH): New macro.
* lib/regcomp.c (peek_token_bracket, parse_expression):
* lib/regexec.c (check_node_accept): Use it.
ChangeLog
lib/regcomp.c
lib/regex_internal.h
lib/regexec.c