Nibbler: Removed unused ::skipAll method
This commit is contained in:
@@ -532,26 +532,6 @@ bool Nibbler::skip (char c)
|
||||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Nibbler::skipAll (char c)
|
||||
{
|
||||
if (_cursor < _length)
|
||||
{
|
||||
auto i = _input->find_first_not_of (c, _cursor);
|
||||
if (i == _cursor)
|
||||
return false;
|
||||
|
||||
if (i == std::string::npos)
|
||||
_cursor = _length; // Yes, off the end.
|
||||
else
|
||||
_cursor = i;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Nibbler::skipWS ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user