zig/lib/std/zig
Ryan Liptak 0cef727e59 More precise error message for unencodable \u escapes
The surrogate code points U+D800 to U+DFFF are valid code points but are not Unicode scalar values. This commit makes the error message more accurately reflect what is actually allowed in `\u` escape sequences.

From https://www.unicode.org/versions/Unicode15.0.0/ch03.pdf:

> D71 High-surrogate code point: A Unicode code point in the range U+D800 to U+DBFF.
> D73 Low-surrogate code point: A Unicode code point in the range U+DC00 to U+DFFF.
>
> 3.9 Unicode Encoding Forms
> D76 Unicode scalar value: Any Unicode code point except high-surrogate and low-surrogate code points.

Related: #20270
2024-06-12 16:49:00 -04:00
..
system handle visionos target OS tag in the compiler 2024-05-09 15:04:15 +02:00
Ast.zig Ast: fix comptime destructure 2024-03-17 15:23:16 -07:00
AstGen.zig More precise error message for unencodable \u escapes 2024-06-12 16:49:00 -04:00
AstRlAnnotate.zig Revert "implement @expect builtin (#19658)" 2024-05-22 09:57:43 -07:00
BuiltinFn.zig Revert "implement @expect builtin (#19658)" 2024-05-22 09:57:43 -07:00
c_builtins.zig
c_translation.zig Update uses of @fieldParentPtr to use RLS 2024-03-30 20:50:48 -04:00
Client.zig
ErrorBundle.zig update the codebase for the new std.Progress API 2024-05-27 20:56:48 -07:00
LibCDirs.zig Target: add OpenHarmonyOS ABI 2024-05-20 09:25:52 -04:00
LibCInstallation.zig std: restructure child process namespace 2024-05-26 09:31:55 -07:00
number_literal.zig
Parse.zig grammar: remove gratuitous ambiguity 2024-03-06 13:59:46 -08:00
parser_test.zig Ast: fix comptime destructure 2024-03-17 15:23:16 -07:00
perf_test.zig lib: correct unnecessary uses of 'var' 2023-11-19 09:55:07 +00:00
primitives.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
render.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
Server.zig update the codebase for the new std.Progress API 2024-05-27 20:56:48 -07:00
string_literal.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
system.zig std.zig.system: fix ELF file search 2024-04-23 17:21:01 -07:00
target.zig target.zig: Constrain aarch64 to glibc version 2.17 or later 2024-06-06 09:36:16 -07:00
tokenizer.zig ComptimeStringMap: return a regular struct and optimize 2024-04-22 15:31:41 -07:00
WindowsSdk.zig Fix index-of-out-bounds when no versions are found in the sdk lib dir 2024-06-08 15:36:21 -04:00
Zir.zig Zir: remove legacy error_set_decl variants 2024-06-10 05:02:34 +01:00