aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2017-09-01 08:53:14 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2017-09-01 08:53:14 +1000
commit566b81a2fda39f83e4fbc860388385c2d3087d33 (patch)
tree9cbf68d8f62a3a6262a6d71bac4616614a82cc75 /src
parent66dcd50fcdc62cadecdac2860e82f9aaaa7a9976 (diff)
downloadscintilla-mirror-566b81a2fda39f83e4fbc860388385c2d3087d33.tar.gz
Backport: Use "Falls through" comments to avoid warnings from GCC 7.1.
Backport of changeset 6387:4ad398cbd71f.
Diffstat (limited to 'src')
-rw-r--r--src/RESearch.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx
index 9bcea1ce9..65a732ef3 100644
--- a/src/RESearch.cxx
+++ b/src/RESearch.cxx
@@ -784,6 +784,7 @@ int RESearch::Execute(CharacterIndexer &ci, Sci::Position lp, Sci::Position endp
lp++;
if (lp >= endp) /* if EOS, fail, else fall through. */
return 0;
+ // Falls through.
default: /* regular matching all the way. */
while (lp < endp) {
ep = PMatch(ci, lp, endp, ap);