From c30768f1167cfe590e0b6a12c4a986e82a210cc3 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 25 Jul 2015 11:25:56 +1000 Subject: Use Sci_PositionU/Sci_Position for arguments to functional lexers, folders, and comment recognizers to allow for future implementation of 64-bit positions. --- lexers/LexPython.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers/LexPython.cxx') diff --git a/lexers/LexPython.cxx b/lexers/LexPython.cxx index c12810c03..7e1604e79 100644 --- a/lexers/LexPython.cxx +++ b/lexers/LexPython.cxx @@ -43,7 +43,7 @@ enum literalsAllowed { litNone = 0, litU = 1, litB = 2 }; const int indicatorWhitespace = 1; -bool IsPyComment(Accessor &styler, int pos, int len) { +bool IsPyComment(Accessor &styler, Sci_Position pos, Sci_Position len) { return len > 0 && styler[pos] == '#'; } -- cgit v1.2.3