From 19ac1f6368c91cc00a68717001ea4eae65567a47 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 5 Aug 2020 16:28:19 -0400 Subject: Revert "Unicode: s/codepoint/code_point/g" This reverts commit ea9ac3155d1774f13ac4e9a96605c0e85a8f299e. It replaced "codepoint" with "code_points", not "code_point". --- 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 ae64529d9a..f06bab3572 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 code_points must not be greater than 0x10ffff in escape sequence"; + message = "Unicode codepoint must not be greater than 0x10ffff in escape sequence"; } syntax_error( -- cgit v1.2.3