diff options
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 == '_'); } |