]> Cypherpunks.ru repositories - gostls13.git/commit
unicode: update table using new generator in x/text
authorMarcel van Lohuizen <mpvl@golang.org>
Wed, 27 Mar 2019 12:27:01 +0000 (13:27 +0100)
committerMarcel van Lohuizen <mpvl@golang.org>
Wed, 24 Apr 2019 15:22:37 +0000 (15:22 +0000)
commite308d41fe51b691c4bb52edc0865ca49f938a0f9
tree6b1a84e671f7324cb0a91dae3c8f0a55a5cb54e5
parent80e7832733fd245181af3394077f2df21303a4aa
unicode: update table using new generator in x/text

The changes in Unicode 11 exposes a bug in maketables.go.
We update the Unicode 10 tables using a new generator
to minimize the changes upgrading to Unicode 11.

This change switches over the generation from core to that in
x/text. To properly update the tables one needs to run the generate
in x/text anyway, so this makes that official.

The RangeTable generator in x/text also generates slightly compacter
tables.

Updates golang/go#27945

See CL 154443

Change-Id: I6c59e082d5b8cd9e9332a32d8971061228581d66
Reviewed-on: https://go-review.googlesource.com/c/go/+/169617
Run-TryBot: Marcel van Lohuizen <mpvl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/unicode/letter.go
src/unicode/maketables.go [deleted file]
src/unicode/tables.go