fill unknown symbols in known catalog
This commit is contained in:
parent
a7974f0f14
commit
51c8be6baf
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue