diff options
author | Nico Weber <thakis@chromium.org> | 2020-08-05 16:28:19 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-05 22:33:42 +0200 |
commit | 19ac1f6368c91cc00a68717001ea4eae65567a47 (patch) | |
tree | 65e4e9a85f0a39085c80bf954d5889e396e0ee4e /Libraries/LibJS/Parser.cpp | |
parent | 9664bac281c72822da59e7f83af65d4f411d10a5 (diff) | |
download | serenity-19ac1f6368c91cc00a68717001ea4eae65567a47.zip |
Revert "Unicode: s/codepoint/code_point/g"
This reverts commit ea9ac3155d1774f13ac4e9a96605c0e85a8f299e.
It replaced "codepoint" with "code_points", not "code_point".
Diffstat (limited to 'Libraries/LibJS/Parser.cpp')
-rw-r--r-- | Libraries/LibJS/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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 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( |