From b51a2abbe480a382e4e68e0be0f890df4949f652 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 16 Jan 2002 09:55:23 +0000 Subject: Fixed what looks like a gcc compiler bug returning true for ':' when function declared as inline rather than static inline. --- src/LexCPP.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 == '_'); } -- cgit v1.2.3