aboutsummaryrefslogtreecommitdiffstats
path: root/unpack.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-06-09 15:52:30 -0700
committerColin Cross <ccross@android.com>2016-06-14 15:26:49 -0700
commitc32c47938f2a04cd62aed8691add85049c6a6625 (patch)
tree6cbea64054721bde94235e88f70800f6183be25a /unpack.go
parentd4f49b07d1b4b80da2e1234b2e9a37eb6a50ba55 (diff)
downloadandroid_build_blueprint-c32c47938f2a04cd62aed8691add85049c6a6625.tar.gz
android_build_blueprint-c32c47938f2a04cd62aed8691add85049c6a6625.tar.bz2
android_build_blueprint-c32c47938f2a04cd62aed8691add85049c6a6625.zip
Remove blueprint/parser.Ident
It wasn't adding anything useful, and it resulted in Name.Name to get to the identifier. Replace Name Ident with Name string; NamePos scanner.Position. Change-Id: Idf9b18b31dd563a18f27c602c2d14298955af371
Diffstat (limited to 'unpack.go')
-rw-r--r--unpack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack.go b/unpack.go
index 11718b4..62ee061 100644
--- a/unpack.go
+++ b/unpack.go
@@ -82,7 +82,7 @@ func buildPropertyMap(namePrefix string, propertyDefs []*parser.Property,
propertyMap map[string]*packedProperty) (errs []error) {
for _, propertyDef := range propertyDefs {
- name := namePrefix + propertyDef.Name.Name
+ name := namePrefix + propertyDef.Name
if first, present := propertyMap[name]; present {
if first.property == propertyDef {
// We've already added this property.