Browse Source

Util: Remove unused function

master
Riyyi 2 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;
}
bool Lexer::consumeSpecific(char character)
{
if (peek() != character) {
return false;
}
increment();
return true;
}
bool Lexer::getString()
{
size_t column = m_column;

1
src/util/json/lexer.h

@ -54,7 +54,6 @@ private:
void increment();
void decrement();
char consume();
bool consumeSpecific(char character);
bool getString();
bool getNumberOrLiteral(Token::Type type);

Loading…
Cancel
Save