Browse Source

Util: Run clang-format on Json::Lexer

master
Riyyi 2 years ago
parent
commit
8dd3f11d7b
  1. 7
      src/util/json/lexer.cpp

7
src/util/json/lexer.cpp

@ -144,8 +144,8 @@ bool Lexer::getString()
continue; continue;
} }
if (!escape && if (!escape
(character == '"' && (character == '"'
|| character == '\r' || character == '\r'
|| character == '\n' || character == '\n'
|| character == '\0')) { || character == '\0')) {
@ -189,8 +189,7 @@ bool Lexer::getNumberOrLiteral(Token::Type type)
|| character == '\t' || character == '\t'
|| character == '\r' || character == '\r'
|| character == '\n' || character == '\n'
|| character == '\0' || character == '\0') {
) {
break; break;
} }

Loading…
Cancel
Save