Nibbler: Removed unused ::backN method

This commit is contained in:
Paul Beckingham
2015-10-29 23:55:43 -04:00
parent 297f2b6e99
commit dd82835ac4
3 changed files with 1 additions and 25 deletions

View File

@@ -538,18 +538,6 @@ bool Nibbler::skipWS ()
return this->skipAllOneOf (" \t\n\r\f");
}
////////////////////////////////////////////////////////////////////////////////
bool Nibbler::backN (const int quantity /*= 1*/)
{
if (_cursor >= (unsigned) quantity)
{
_cursor -= (unsigned) quantity;
return true;
}
return false;
}
////////////////////////////////////////////////////////////////////////////////
bool Nibbler::skipAllOneOf (const std::string& chars)
{

View File

@@ -66,8 +66,6 @@ public:
bool skipAllOneOf (const std::string&);
bool skipWS ();
bool backN (const int quantity = 1);
char next ();
std::string next (const int quantity);