Util: Fix comma placement in error message

This commit is contained in:
Riyyi
2022-07-11 00:49:27 +02:00
parent 097be4c012
commit a3ab6aecfa
+1 -1
View File
@@ -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;
} }