]> Cypherpunks repositories - gostls13.git/commit
exp/norm: a few minor fixes to support the implementation of norm.
authorMarcel van Lohuizen <mpvl@golang.org>
Mon, 22 Aug 2011 10:11:29 +0000 (12:11 +0200)
committerMarcel van Lohuizen <mpvl@golang.org>
Mon, 22 Aug 2011 10:11:29 +0000 (12:11 +0200)
commit45b7084b92901b9b5a98827db73746e660109bef
treebbf56d2ed5b3eac493dc4aafa8fddd02e0fd2704
parent8b614b421398ad27e958364ee0a74e5dccd9078f
exp/norm: a few minor fixes to support the implementation of norm.
maketables.go/tables.go
- Properly set combinesForward flag for JamoL and JamoV.
- Fixed Printf bug.
composition.go
- Make insertString use the same control flow as insert.
- Better Hangul and non-Hangul mixing.
forminfo.go
- Fixed bug in compBoundaryBefore that affected a few esoteric cases.
- Buffer overflow now tested in normalize_test.go (other CL).

R=r
CC=golang-dev
https://golang.org/cl/4924041
src/pkg/exp/norm/composition.go
src/pkg/exp/norm/forminfo.go
src/pkg/exp/norm/maketables.go
src/pkg/exp/norm/tables.go