diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-02 10:30:57 -0700 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-02 10:30:57 -0700 |
commit | 672d527f9e69a59cb204463a2255bb32e814a676 (patch) | |
tree | 95a19451ed4a1b008e13c3d955b8b2a02cda0ed8 | |
parent | 49a51a093c306a3aaa796da057a3b12beadd781e (diff) | |
parent | 580f006a80c7933258feb68201a006b94c58cde0 (diff) |
Merge pull request #9 from kanzure/fix-get_labels_between
Fix "labels" confusion in get_labels_between
-rw-r--r-- | pokemontools/crystal.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pokemontools/crystal.py b/pokemontools/crystal.py index d6dba89..8a12dad 100644 --- a/pokemontools/crystal.py +++ b/pokemontools/crystal.py @@ -7706,7 +7706,7 @@ def find_labels_without_addresses(): label_errors = "" def get_labels_between(start_line_id, end_line_id, bank): - labels = [] + foundlabels = [] #label = { # "line_number": 15, # "bank": 32, @@ -7744,8 +7744,8 @@ def get_labels_between(start_line_id, end_line_id, bank): "address": address, } # store this structure - labels.append(label) - return labels + foundlabels.append(label) + return foundlabels def scan_for_predefined_labels(debug=False): """looks through the asm file for labels at specific addresses, |