Util: Remove unused function
This commit is contained in:
@@ -154,16 +154,6 @@ char Lexer::consume()
|
|||||||
return character;
|
return character;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Lexer::consumeSpecific(char character)
|
|
||||||
{
|
|
||||||
if (peek() != character) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
increment();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Lexer::getString()
|
bool Lexer::getString()
|
||||||
{
|
{
|
||||||
size_t column = m_column;
|
size_t column = m_column;
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ private:
|
|||||||
void increment();
|
void increment();
|
||||||
void decrement();
|
void decrement();
|
||||||
char consume();
|
char consume();
|
||||||
bool consumeSpecific(char character);
|
|
||||||
|
|
||||||
bool getString();
|
bool getString();
|
||||||
bool getNumberOrLiteral(Token::Type type);
|
bool getNumberOrLiteral(Token::Type type);
|
||||||
|
|||||||
Reference in New Issue
Block a user