- Removed obsolete noSpaces() function.
This commit is contained in:
Paul Beckingham
2015-02-22 18:27:19 -05:00
parent 8791c0a921
commit 9f82926c65
4 changed files with 3 additions and 23 deletions

View File

@@ -489,18 +489,6 @@ bool digitsOnly (const std::string& input)
return true;
}
////////////////////////////////////////////////////////////////////////////////
bool noSpaces (const std::string& input)
{
std::string::size_type i = 0;
int character;
while ((character = utf8_next_char (input, i)))
if (Lexer::isWhitespace (character))
return false;
return true;
}
////////////////////////////////////////////////////////////////////////////////
// Override of ispunct, that considers #, $ and @ not to be punctuation.
//