diff options
author | Neil <nyamatongwe@gmail.com> | 2013-07-06 10:57:15 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-07-06 10:57:15 +1000 |
commit | 2fed10cf85c4f0708ea3d943a623b068030639f1 (patch) | |
tree | aeaa41a71361fb1e7c250fa27f22feb974ad51e2 | |
parent | 474fe6ef6a140edcdb948e9a055cf0fd2307946b (diff) | |
download | scintilla-mirror-2fed10cf85c4f0708ea3d943a623b068030639f1.tar.gz |
Removed static functions that have never been used.
-rw-r--r-- | lexers/LexAda.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lexers/LexAda.cxx b/lexers/LexAda.cxx index 49eb2c68b..b11c247bb 100644 --- a/lexers/LexAda.cxx +++ b/lexers/LexAda.cxx @@ -65,8 +65,6 @@ static void ColouriseWhiteSpace(StyleContext& sc, bool& apostropheStartsAttribut static void ColouriseWord(StyleContext& sc, WordList& keywords, bool& apostropheStartsAttribute); static inline bool IsDelimiterCharacter(int ch); -static inline bool IsNumberStartCharacter(int ch); -static inline bool IsNumberCharacter(int ch); static inline bool IsSeparatorOrDelimiterCharacter(int ch); static bool IsValidIdentifier(const std::string& identifier); static bool IsValidNumber(const std::string& number); @@ -310,19 +308,6 @@ static inline bool IsDelimiterCharacter(int ch) { } } -static inline bool IsNumberCharacter(int ch) { - return IsNumberStartCharacter(ch) || - ch == '_' || - ch == '.' || - ch == '#' || - (ch >= 'a' && ch <= 'f') || - (ch >= 'A' && ch <= 'F'); -} - -static inline bool IsNumberStartCharacter(int ch) { - return IsADigit(ch); -} - static inline bool IsSeparatorOrDelimiterCharacter(int ch) { return IsASpace(ch) || IsDelimiterCharacter(ch); } |