From ce95628b7f96924e851d8cedac1d784547600cd3 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 5 Aug 2020 16:31:20 -0400 Subject: 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 --- Libraries/LibJS/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Libraries/LibJS/Parser.cpp') 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 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( -- cgit v1.2.3