diff options
Diffstat (limited to 'lexers/LexTCL.cxx')
-rw-r--r-- | lexers/LexTCL.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexTCL.cxx b/lexers/LexTCL.cxx index 18334a323..48af1e7fe 100644 --- a/lexers/LexTCL.cxx +++ b/lexers/LexTCL.cxx @@ -45,7 +45,7 @@ static inline bool IsANumberChar(int ch) { ch == '.' || ch == '-' || ch == '+'); } -static void ColouriseTCLDoc(Sci_PositionU startPos, Sci_Position length, int, WordList *keywordlists[], Accessor &styler) { +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; bool commentLevel = false; @@ -58,7 +58,7 @@ static void ColouriseTCLDoc(Sci_PositionU startPos, Sci_Position length, int, Wo bool expected = 0; bool subParen = 0; - int currentLine = styler.GetLine(startPos); + Sci_Position currentLine = styler.GetLine(startPos); if (currentLine > 0) currentLine--; length += startPos - styler.LineStart(currentLine); |