ref: d319aea119145ecb03cc28f5877c2d9393944965
parent: 9ed1a474d08569654e1136836cf2ecea4d5c5ad0
author: Bryan Bishop <[email protected]>
date: Fri Apr 27 11:33:37 EDT 2012
fix label lookup
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -4988,10 +4988,10 @@
return thing["label"]
#the new way
- if is_script_already_parsed_at(address):
- obj = script_parse_table[address]
+ obj = script_parse_table[address]
+ if obj:
if hasattr(obj, "label"):
- return getattr(obj, "label")
+ return obj.label.name
else:
return "AlreadyParsedNoDefaultUnknownLabel_" + hex(address)