commit | dd164d33a23c6e075adc2b75ac1ae939b81324aa | [log] [tgz] |
---|---|---|
author | Marcel van Lohuizen <mpvl@golang.org> | Mon Dec 07 10:08:53 2015 +0100 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Mon Dec 07 19:12:22 2015 +0000 |
tree | 9c11a696cc02d5da38114a3658029e7d37e5c255 | |
parent | 51beaedf828ebf63bdebf925ceca32f413c9e0cc [diff] |
internal/triegen: handle \xc0 and \xc1 correctly \xc0 and \xc1 were seen as possible incomplete UTF-8 sequences, whereas they are really always illegal. Fix the trie and updated all code including some tests. Change-Id: I5f9befc83ff0348d0ec4d5e1956d35387df00c03 Reviewed-on: https://go-review.googlesource.com/17495 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>