X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/runtime/LiteralParser.h diff --git a/runtime/LiteralParser.h b/runtime/LiteralParser.h index f05f032..fcb79fa 100644 --- a/runtime/LiteralParser.h +++ b/runtime/LiteralParser.h @@ -98,9 +98,9 @@ public: String getErrorMessage() { if (!m_lexer.getErrorMessage().isEmpty()) - return String::format("JSON Parse error: %s", m_lexer.getErrorMessage().ascii().data()).impl(); + return String::format("JSON Parse error: %s", m_lexer.getErrorMessage().ascii().data()); if (!m_parseErrorMessage.isEmpty()) - return String::format("JSON Parse error: %s", m_parseErrorMessage.ascii().data()).impl(); + return String::format("JSON Parse error: %s", m_parseErrorMessage.ascii().data()); return ASCIILiteral("JSON Parse error: Unable to parse JSON string"); }