From 3e42de29c98016ce277f7382cc3434f5e4a8f57f Mon Sep 17 00:00:00 2001 From: Marcel van Lohuizen Date: Mon, 12 Sep 2011 10:21:35 +0200 Subject: [PATCH] exp/norm: fixed typo. Bug exposed by gomake testtables. Changes did not affect other tests as this part of Hangul is handled algorithmically. R=r CC=golang-dev https://golang.org/cl/4951074 --- src/pkg/exp/norm/maketables.go | 2 +- src/pkg/exp/norm/tables.go | 20 ++++++-------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/src/pkg/exp/norm/maketables.go b/src/pkg/exp/norm/maketables.go index dbe5606182..14718c5cd2 100644 --- a/src/pkg/exp/norm/maketables.go +++ b/src/pkg/exp/norm/maketables.go @@ -518,7 +518,7 @@ func completeCharFields(form int) { if JamoLBase <= i && i < JamoLEnd { f.combinesForward = true } - if JamoVBase <= i && i < JamoTEnd { + if JamoVBase <= i && i < JamoVEnd { f.quickCheck[MComposed] = QCMaybe f.combinesBackward = true f.combinesForward = true diff --git a/src/pkg/exp/norm/tables.go b/src/pkg/exp/norm/tables.go index 36dcd5c84c..54da5eee7e 100644 --- a/src/pkg/exp/norm/tables.go +++ b/src/pkg/exp/norm/tables.go @@ -5695,22 +5695,14 @@ var charInfoValues = [11008]uint16{ 0x0ea4: 0xee00, 0x0ea5: 0xee00, 0x0ea6: 0xee00, 0x0ea7: 0xee00, 0x0ea8: 0xee00, 0x0ea9: 0xee00, 0x0eaa: 0xee00, 0x0eab: 0xee00, 0x0eac: 0xee00, 0x0ead: 0xee00, 0x0eae: 0xee00, 0x0eaf: 0xee00, 0x0eb0: 0xee00, 0x0eb1: 0xee00, 0x0eb2: 0xee00, 0x0eb3: 0xee00, 0x0eb4: 0xee00, 0x0eb5: 0xee00, - 0x0eb6: 0xee00, 0x0eb7: 0xee00, 0x0eb8: 0xee00, 0x0eb9: 0xee00, 0x0eba: 0xee00, 0x0ebb: 0xee00, - 0x0ebc: 0xee00, 0x0ebd: 0xee00, 0x0ebe: 0xee00, 0x0ebf: 0xee00, // Block 0x3b, offset 0xec0 - 0x0ec0: 0xee00, 0x0ec1: 0xee00, 0x0ec2: 0xee00, 0x0ec3: 0xee00, 0x0ec4: 0xee00, 0x0ec5: 0xee00, - 0x0ec6: 0xee00, 0x0ec7: 0xee00, 0x0ec8: 0xee00, 0x0ec9: 0xee00, 0x0eca: 0xee00, 0x0ecb: 0xee00, - 0x0ecc: 0xee00, 0x0ecd: 0xee00, 0x0ece: 0xee00, 0x0ecf: 0xee00, 0x0ed0: 0xee00, 0x0ed1: 0xee00, - 0x0ed2: 0xee00, 0x0ed3: 0xee00, 0x0ed4: 0xee00, 0x0ed5: 0xee00, 0x0ed6: 0xee00, 0x0ed7: 0xee00, - 0x0ed8: 0xee00, 0x0ed9: 0xee00, 0x0eda: 0xee00, 0x0edb: 0xee00, 0x0edc: 0xee00, 0x0edd: 0xee00, - 0x0ede: 0xee00, 0x0edf: 0xee00, 0x0ee0: 0xee00, 0x0ee1: 0xee00, 0x0ee2: 0xee00, 0x0ee3: 0xee00, - 0x0ee4: 0xee00, 0x0ee5: 0xee00, 0x0ee6: 0xee00, 0x0ee7: 0xee00, 0x0ee8: 0xee00, 0x0ee9: 0xee00, - 0x0eea: 0xee00, 0x0eeb: 0xee00, 0x0eec: 0xee00, 0x0eed: 0xee00, 0x0eee: 0xee00, 0x0eef: 0xee00, - 0x0ef0: 0xee00, 0x0ef1: 0xee00, 0x0ef2: 0xee00, 0x0ef3: 0xee00, 0x0ef4: 0xee00, 0x0ef5: 0xee00, - 0x0ef6: 0xee00, 0x0ef7: 0xee00, 0x0ef8: 0xee00, 0x0ef9: 0xee00, 0x0efa: 0xee00, 0x0efb: 0xee00, - 0x0efc: 0xee00, 0x0efd: 0xee00, 0x0efe: 0xee00, 0x0eff: 0xee00, + 0x0ee8: 0x6600, 0x0ee9: 0x6600, + 0x0eea: 0x6600, 0x0eeb: 0x6600, 0x0eec: 0x6600, 0x0eed: 0x6600, 0x0eee: 0x6600, 0x0eef: 0x6600, + 0x0ef0: 0x6600, 0x0ef1: 0x6600, 0x0ef2: 0x6600, 0x0ef3: 0x6600, 0x0ef4: 0x6600, 0x0ef5: 0x6600, + 0x0ef6: 0x6600, 0x0ef7: 0x6600, 0x0ef8: 0x6600, 0x0ef9: 0x6600, 0x0efa: 0x6600, 0x0efb: 0x6600, + 0x0efc: 0x6600, 0x0efd: 0x6600, 0x0efe: 0x6600, 0x0eff: 0x6600, // Block 0x3c, offset 0xf00 - 0x0f00: 0xee00, 0x0f01: 0xee00, 0x0f02: 0xee00, + 0x0f00: 0x6600, 0x0f01: 0x6600, 0x0f02: 0x6600, // Block 0x3d, offset 0xf40 0x0f5d: 0x00e6, 0x0f5e: 0x00e6, 0x0f5f: 0x00e6,