Browse Source

Util: Remove unused function

master
Riyyi 3 years ago
parent
commit
ed5efdb0d6
  1. 10
      src/util/json/lexer.cpp
  2. 1
      src/util/json/lexer.h

10
src/util/json/lexer.cpp

@ -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;

1
src/util/json/lexer.h

@ -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);

Loading…
Cancel
Save