diff options
author | Neil <nyamatongwe@gmail.com> | 2013-07-21 20:56:39 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-07-21 20:56:39 +1000 |
commit | 26724547d6f0aece3a0d998e9c8edf9c6d976e84 (patch) | |
tree | 06ec385c498f37db74bbec424ff2aaa6ab1f852f | |
parent | 3b44e428957a7708863d799bef55ac18a95aea6c (diff) | |
download | scintilla-mirror-26724547d6f0aece3a0d998e9c8edf9c6d976e84.tar.gz |
Removed functions that had never been used - looks like they had been copied
from LexAda.
-rw-r--r-- | lexers/LexSpice.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lexers/LexSpice.cxx b/lexers/LexSpice.cxx index c921b797f..ccc9f6da4 100644 --- a/lexers/LexSpice.cxx +++ b/lexers/LexSpice.cxx @@ -60,11 +60,7 @@ static void ColouriseWhiteSpace(StyleContext& sc, bool& apostropheStartsAttribut static void ColouriseWord(StyleContext& sc, WordList& keywords, WordList& keywords2, WordList& keywords3, 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 inline bool IsWordStartCharacter(int ch); -static inline bool IsWordCharacter(int ch); static void ColouriseComment(StyleContext& sc, bool&) { sc.SetState(SCE_SPICE_COMMENTLINE); @@ -205,27 +201,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); } - -static inline bool IsWordCharacter(int ch) { - return IsWordStartCharacter(ch) || IsADigit(ch); -} - -static inline bool IsWordStartCharacter(int ch) { - return (IsASCII(ch) && isalpha(ch)) || ch == '_'; -} |