diff options
author | nyamatongwe <unknown> | 2002-01-16 09:55:23 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-01-16 09:55:23 +0000 |
commit | b51a2abbe480a382e4e68e0be0f890df4949f652 (patch) | |
tree | eb52fe527c981585e2d06ac41967f0def0798939 | |
parent | 93660c1b10407f26bd3bf58b2dc0102c9d936c4c (diff) | |
download | scintilla-mirror-b51a2abbe480a382e4e68e0be0f890df4949f652.tar.gz |
Fixed what looks like a gcc compiler bug returning true for ':' when
function declared as inline rather than static inline.
-rw-r--r-- | src/LexCPP.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index 06da84341..74ac81513 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -24,7 +24,7 @@ static bool IsOKBeforeRE(const int ch) { return (ch == '(') || (ch == '=') || (ch == ','); } -inline bool IsAWordChar(const int ch) { +static inline bool IsAWordChar(const int ch) { return (ch < 0x80) && (isalnum(ch) || ch == '.' || ch == '_'); } |