aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexPython.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-07-25 11:25:56 +1000
committerNeil <nyamatongwe@gmail.com>2015-07-25 11:25:56 +1000
commitc30768f1167cfe590e0b6a12c4a986e82a210cc3 (patch)
tree6048b8f9718abaf80f81ccfde41057d40a9198d2 /lexers/LexPython.cxx
parent5f7e861ca9e4c776f40eb884a3d6e97362842904 (diff)
downloadscintilla-mirror-c30768f1167cfe590e0b6a12c4a986e82a210cc3.tar.gz
Use Sci_PositionU/Sci_Position for arguments to functional lexers, folders, and
comment recognizers to allow for future implementation of 64-bit positions.
Diffstat (limited to 'lexers/LexPython.cxx')
-rw-r--r--lexers/LexPython.cxx2
1 files changed, 1 insertions, 1 deletions
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] == '#';
}