Export token Key and Flags bit sizes.

This commit is contained in:
Nigel Tao committed 2017-05-06 14:20:18 +10:00
1 parent 6d32fd8a97
commit 6424985f0f
2 files changed
+220 -218

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ func (m *IDMap) insert(name string) (ID, error) {
} else {
flags |= FlagsIdent
}
id := ID(key<<idShift) | ID(flags)
id := ID(key<<KeyShift) | ID(flags)
m.byName[name] = id
m.byKey = append(m.byKey, name)
return id, nil