diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2017-09-01 08:53:14 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2017-09-01 08:53:14 +1000 |
commit | 7b287ecd7f8527bb8f47e08090a0120ff418c730 (patch) | |
tree | a0c3341b6b256b6c58fc8703b16624dabac21f1c /lexers/LexErlang.cxx | |
parent | 940747df2c700f88e6c031526637d555d88d76e9 (diff) | |
download | scintilla-mirror-7b287ecd7f8527bb8f47e08090a0120ff418c730.tar.gz |
Use "Falls through" comments to avoid warnings from GCC 7.1.
Diffstat (limited to 'lexers/LexErlang.cxx')
-rw-r--r-- | lexers/LexErlang.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lexers/LexErlang.cxx b/lexers/LexErlang.cxx index 3d3c1e89f..89ed1ae2f 100644 --- a/lexers/LexErlang.cxx +++ b/lexers/LexErlang.cxx @@ -116,6 +116,7 @@ static void ColouriseErlangDoc(Sci_PositionU startPos, Sci_Position length, int } } // V--- Falling through! + // Falls through. case COMMENT_FUNCTION : { if (sc.ch != '%') { to_late_to_comment = true; @@ -128,6 +129,7 @@ static void ColouriseErlangDoc(Sci_PositionU startPos, Sci_Position length, int } } // V--- Falling through! + // Falls through. case COMMENT_MODULE : { if (parse_state != COMMENT) { // Search for comment documentation |