aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPython.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-02-09 07:39:50 +0000
committernyamatongwe <unknown>2002-02-09 07:39:50 +0000
commite897a678149136fb68059353bfd88c0103e9a138 (patch)
tree5694c3a7129a0250f53a4bed4c4ba9c680bde1e2 /src/LexPython.cxx
parent244aa767a111659abbe32d1b475d2fc3f4042633 (diff)
downloadscintilla-mirror-e897a678149136fb68059353bfd88c0103e9a138.tar.gz
Fixed problem with keywords followed by colons not appearing as keywords.
Diffstat (limited to 'src/LexPython.cxx')
-rw-r--r--src/LexPython.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexPython.cxx b/src/LexPython.cxx
index 234bdf718..35a5a92be 100644
--- a/src/LexPython.cxx
+++ b/src/LexPython.cxx
@@ -83,11 +83,11 @@ static int GetPyStringState(Accessor &styler, int i, int *nextIndex) {
}
}
-inline bool IsAWordChar(int ch) {
+static inline bool IsAWordChar(int ch) {
return (ch < 0x80) && (isalnum(ch) || ch == '.' || ch == '_');
}
-inline bool IsAWordStart(int ch) {
+static inline bool IsAWordStart(int ch) {
return (ch < 0x80) && (isalnum(ch) || ch == '_');
}