1
0
mirror of https://github.com/golang/go synced 2024-11-20 05:44:44 -07: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 {
testInput.add(str)
}
err := t.Insert(lmap[l[0]], str, extend)
err := t.Insert(lmap[l[0]], str, context+extend)
failOnError(err)
}
case "pc", "sc", "tc", "ic":
@ -617,7 +617,7 @@ func insertTailoring(t *build.Tailoring, r RuleElem, context, extend string) {
if *test {
testInput.add(str)
}
err := t.Insert(level, str, extend)
err := t.Insert(level, str, context+extend)
failOnError(err)
}
default: