Browse Source

Util: Fix comma placement in error message

master
Riyyi 2 years ago
parent
commit
a3ab6aecfa
  1. 2
      src/util/json/parser.cpp

2
src/util/json/parser.cpp

@ -389,7 +389,7 @@ Value Parser::getObject()
break; break;
} }
if (token.type != Token::Type::String) { if (token.type != Token::Type::String) {
reportError(token, "expecting string, or '}' not '" + token.symbol + "'"); reportError(token, "expecting string or '}', not '" + token.symbol + "'");
break; break;
} }

Loading…
Cancel
Save