diff options
author | nyamatongwe <unknown> | 2002-02-09 07:39:50 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-02-09 07:39:50 +0000 |
commit | e897a678149136fb68059353bfd88c0103e9a138 (patch) | |
tree | 5694c3a7129a0250f53a4bed4c4ba9c680bde1e2 /src/LexPython.cxx | |
parent | 244aa767a111659abbe32d1b475d2fc3f4042633 (diff) | |
download | scintilla-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.cxx | 4 |
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 == '_'); } |