fill unknown symbols in known catalog

This commit is contained in:
llrosy798 2021-01-21 23:41:22 +09:00 committed by GitHub
parent a7974f0f14
commit 51c8be6baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -512,6 +512,8 @@ class BinaryIonParser(object):
if table is not None:
self.symbols.import_(table, min(maxid, len(table.symnames)))
if len(table.symnames) < maxid:
self.symbols.importunknown(name + "-unknown", maxid - len(table.symnames))
else:
self.symbols.importunknown(name, maxid)