diff options
author | nyamatongwe <devnull@localhost> | 2006-07-20 13:20:56 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2006-07-20 13:20:56 +0000 |
commit | 29806ae65d04826d5b9e5f7f5687e78abad2cc24 (patch) | |
tree | 729767a2ce2acb64b9b086eeaf18f1e91dba6bff /src | |
parent | 5a57c1da13344d553efc0cef366ff49a6e54d845 (diff) | |
download | scintilla-mirror-29806ae65d04826d5b9e5f7f5687e78abad2cc24.tar.gz |
Treat all characters >= 0x80 as word characters. This allows non-ASCII
identifiers in Java to be treated as identifiers.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexCPP.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index bf089d6cf..c7c333a1b 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -28,11 +28,11 @@ static bool IsOKBeforeRE(int ch) { } static inline bool IsAWordChar(int ch) { - return (ch < 0x80) && (isalnum(ch) || ch == '.' || ch == '_'); + return (ch >= 0x80) || (isalnum(ch) || ch == '.' || ch == '_'); } static inline bool IsAWordStart(int ch) { - return (ch < 0x80) && (isalpha(ch) || ch == '_'); + return (ch >= 0x80) || (isalpha(ch) || ch == '_'); } static inline bool IsADoxygenChar(int ch) { |