1
0
mirror of https://github.com/golang/go synced 2024-09-29 20:34:36 -06:00
go/src/unicode
Wil Selwood d704b5c956 unicode: improve generated comments for categories
The comments on the category range tables in the unicode package are fairly
redundent and require an external source to translate into human readable
category names.

This adds a look up table with the category descriptions and uses it if
available when generating the comments for the range tables.

Fixes #28954

Change-Id: I853e2d270def6492c2c1dd2ad0ec761a74c04e5d
Reviewed-on: https://go-review.googlesource.com/c/151297
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
2018-11-28 03:12:48 +00:00
..
utf8
utf16
casetables.go
digit_test.go
digit.go
example_test.go
graphic_test.go
graphic.go
letter_test.go unicode: fix SpecialCase to follow its docs & respect explict no-op mappings 2018-06-17 08:48:39 +00:00
letter.go unicode: fix SpecialCase to follow its docs & respect explict no-op mappings 2018-06-17 08:48:39 +00:00
maketables.go unicode: improve generated comments for categories 2018-11-28 03:12:48 +00:00
script_test.go
tables.go unicode: improve generated comments for categories 2018-11-28 03:12:48 +00:00