Commit bc0783db authored by Marcel van Lohuizen's avatar Marcel van Lohuizen

exp/locale/collate: add context to entry.

R=r
CC=golang-dev
https://golang.org/cl/6727049
parent 7dc1182c
...@@ -607,7 +607,7 @@ func insertTailoring(t *build.Tailoring, r RuleElem, context, extend string) { ...@@ -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) { ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment