1
0
mirror of https://github.com/golang/go synced 2024-10-03 11:11:22 -06:00

exp/locale/collate: add context to entry.

R=r
CC=golang-dev
https://golang.org/cl/6727049
This commit is contained in:
Marcel van Lohuizen 2012-10-31 14:02:43 +01:00
parent 7dc1182c27
commit bc0783dbe5

View File

@ -607,7 +607,7 @@ func insertTailoring(t *build.Tailoring, r RuleElem, context, extend string) {
if *test { if *test {
testInput.add(str) testInput.add(str)
} }
err := t.Insert(lmap[l[0]], str, extend) err := t.Insert(lmap[l[0]], str, context+extend)
failOnError(err) failOnError(err)
} }
case "pc", "sc", "tc", "ic": case "pc", "sc", "tc", "ic":
@ -617,7 +617,7 @@ func insertTailoring(t *build.Tailoring, r RuleElem, context, extend string) {
if *test { if *test {
testInput.add(str) testInput.add(str)
} }
err := t.Insert(level, str, extend) err := t.Insert(level, str, context+extend)
failOnError(err) failOnError(err)
} }
default: default: