Skip to content

Commit

Permalink
internal/export/unicode: change C comment to mention unassigned code …
Browse files Browse the repository at this point in the history
…points

As of CL 641395, C includes unassigned code points.
(It always has in the Unicode definition.)
Document that.

Change-Id: Icab0ef37e6efeebb1e2882f7743e29acc7ab77d8
Reviewed-on: https://go-review.googlesource.com/c/text/+/653615
Auto-Submit: Sean Liao <[email protected]>
Reviewed-by: Sean Liao <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
rsc authored and gopherbot committed Mar 3, 2025
1 parent 835f8ac commit b18c107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/export/unicode/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func printCategories() {
varDecl := ""
switch name {
case "C":
varDecl = "\tOther = _C; // Other/C is the set of Unicode control and special characters, category C.\n"
varDecl = "\tOther = _C; // Other/C is the set of Unicode control, special, and unassigned code points, category C.\n"
varDecl += "\tC = _C\n"
case "L":
varDecl = "\tLetter = _L; // Letter/L is the set of Unicode letters, category L.\n"
Expand Down

0 comments on commit b18c107

Please sign in to comment.