summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Parser.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-08-05 16:31:20 -0400
committerAndreas Kling <kling@serenityos.org>2020-08-05 22:33:42 +0200
commitce95628b7f96924e851d8cedac1d784547600cd3 (patch)
tree533dad9932cfc954ead3cfc776a27a9f7c4333f9 /Libraries/LibJS/Parser.cpp
parent19ac1f6368c91cc00a68717001ea4eae65567a47 (diff)
downloadserenity-ce95628b7f96924e851d8cedac1d784547600cd3.zip
Unicode: Try s/codepoint/code_point/g again
This time, without trailing 's'. Ran: git grep -l 'codepoint' | xargs sed -ie 's/codepoint/code_point/g
Diffstat (limited to 'Libraries/LibJS/Parser.cpp')
-rw-r--r--Libraries/LibJS/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Parser.cpp b/Libraries/LibJS/Parser.cpp
index f06bab3572..8411503777 100644
--- a/Libraries/LibJS/Parser.cpp
+++ b/Libraries/LibJS/Parser.cpp
@@ -834,7 +834,7 @@ NonnullRefPtr<StringLiteral> Parser::parse_string_literal(Token token)
auto type = status == Token::StringValueStatus::MalformedUnicodeEscape ? "unicode" : "hexadecimal";
message = String::format("Malformed %s escape sequence", type);
} else if (status == Token::StringValueStatus::UnicodeEscapeOverflow) {
- message = "Unicode codepoint must not be greater than 0x10ffff in escape sequence";
+ message = "Unicode code_point must not be greater than 0x10ffff in escape sequence";
}
syntax_error(