diff options
author | Zufu Liu <unknown> | 2019-10-13 19:20:11 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2019-10-13 19:20:11 +1100 |
commit | 42b0101eb7cf6efb2474c40d47f05fc40f3e3a7e (patch) | |
tree | b94318e7bd6ca07e57fad12b4f73ce63a3ab814c | |
parent | 9bf41a8027e2ddd750c43e44c8cb466c17e63214 (diff) | |
download | scintilla-mirror-42b0101eb7cf6efb2474c40d47f05fc40f3e3a7e.tar.gz |
Added const from patch on bug #2131.
-rw-r--r-- | lexers/LexTCL.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ${.....} |