From 7b287ecd7f8527bb8f47e08090a0120ff418c730 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Fri, 1 Sep 2017 08:53:14 +1000 Subject: Use "Falls through" comments to avoid warnings from GCC 7.1. --- lexers/LexVisualProlog.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lexers/LexVisualProlog.cxx') diff --git a/lexers/LexVisualProlog.cxx b/lexers/LexVisualProlog.cxx index dfd749b70..9b59443f8 100644 --- a/lexers/LexVisualProlog.cxx +++ b/lexers/LexVisualProlog.cxx @@ -366,6 +366,7 @@ void SCI_METHOD LexerVisualProlog::Lex(Sci_PositionU startPos, Sci_Position leng case SCE_VISUALPROLOG_STRING_ESCAPE_ERROR: // return to SCE_VISUALPROLOG_STRING and treat as such (fall-through) sc.SetState(SCE_VISUALPROLOG_STRING); + // Falls through. case SCE_VISUALPROLOG_STRING: if (sc.atLineEnd) { sc.SetState(SCE_VISUALPROLOG_STRING_EOL_OPEN); @@ -385,6 +386,7 @@ void SCI_METHOD LexerVisualProlog::Lex(Sci_PositionU startPos, Sci_Position leng case SCE_VISUALPROLOG_STRING_VERBATIM_EOL: // return to SCE_VISUALPROLOG_STRING_VERBATIM and treat as such (fall-through) sc.SetState(SCE_VISUALPROLOG_STRING_VERBATIM); + // Falls through. case SCE_VISUALPROLOG_STRING_VERBATIM: if (sc.atLineEnd) { sc.SetState(SCE_VISUALPROLOG_STRING_VERBATIM_EOL); -- cgit v1.2.3