diff options
| author | nyamatongwe <devnull@localhost> | 2002-02-09 07:39:50 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2002-02-09 07:39:50 +0000 |
| commit | f77c8ccf4b6bf7357c15d80eca9769bed4907163 (patch) | |
| tree | 5694c3a7129a0250f53a4bed4c4ba9c680bde1e2 /src/LexPython.cxx | |
| parent | 81352a90999e16c3b4960f72f4e0bb15570c70da (diff) | |
| download | scintilla-mirror-f77c8ccf4b6bf7357c15d80eca9769bed4907163.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 == '_'); } |
