diff options
| author | Bryan Bishop <kanzure@gmail.com> | 2012-04-27 15:33:37 -0500 | 
|---|---|---|
| committer | Bryan Bishop <kanzure@gmail.com> | 2012-04-27 15:33:37 -0500 | 
| commit | 322442b3d66e2dd126a59ff7dd2419441ef677eb (patch) | |
| tree | 6a87e9d166fd5613e71434a4de7d9e03c35b95f3 /crystal.py | |
| parent | a7d0c2286036f7975e922a17a1d6bfd6922805ac (diff) | |
fix label lookup
original-commit-id: d319aea119145ecb03cc28f5877c2d9393944965
Diffstat (limited to 'crystal.py')
| -rw-r--r-- | crystal.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -4988,10 +4988,10 @@ def get_label_for(address):              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) | 
