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 | 75402a8edaed23dca3399dcb5349b65981a13a83 (patch) | |
| tree | 4eea4cc650afea189d830a6f2fccb3075ce97fdc | |
| parent | 3ccd74a83b03cb15d8bac7da38da5531d730bfaf (diff) | |
| download | scintilla-mirror-75402a8edaed23dca3399dcb5349b65981a13a83.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 == '_'; -} | 
