From 69c098c6c4463bebca4915459da805717052ab6c Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sun, 13 Oct 2019 19:20:11 +1100 Subject: Backport: Added const from patch on bug #2131. Backport of changeset 7705:620c84903b32. --- lexers/LexTCL.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexers/LexTCL.cxx b/lexers/LexTCL.cxx index 5bba2b6a1..5c73fb52e 100644 --- a/lexers/LexTCL.cxx +++ b/lexers/LexTCL.cxx @@ -45,7 +45,7 @@ static inline bool IsANumberChar(int ch) { static void ColouriseTCLDoc(Sci_PositionU startPos, Sci_Position length, int , WordList *keywordlists[], Accessor &styler) { #define isComment(s) (s==SCE_TCL_COMMENT || s==SCE_TCL_COMMENTLINE || s==SCE_TCL_COMMENT_BOX || s==SCE_TCL_BLOCK_COMMENT) - bool foldComment = styler.GetPropertyInt("fold.comment") != 0; + const bool foldComment = styler.GetPropertyInt("fold.comment") != 0; const bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0; bool commentLevel = false; bool subBrace = false; // substitution begin with a brace ${.....} -- cgit v1.2.3