Nibbler: Removed unused ::backN method
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user