Skip to content

Commit

Permalink
Output label names and address for debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
gribeill committed Apr 26, 2019
1 parent be39b86 commit a03994b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QGL/drivers/APS2Pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ def resolve_symbols(seq):

labeled_entries = [(idx, entry.label) for idx, entry in enumerate(seq) if entry.label is not None]
symbols = {label: idx for idx, label in labeled_entries}
#print(f"Found labels: {symbols}")
logger.info(f"Found labels: {symbols}")
for entry in seq:
if entry.target is not None and entry.target in symbols.keys():
entry.address = symbols[entry.target]
Expand Down

0 comments on commit a03994b

Please sign in to comment.