Skip to content

Commit

Permalink
[BUILD] Fix "lst_matcher" regex in relist.py. (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaekwad authored Dec 21, 2024
1 parent d91bc55 commit 58a1f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/relist.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def scan_map(map_filename: str, lst_filename:str, segment_map:Dict[str,Segment],
# print(f"Done reading {line_num} lines")
return segment_map, module_map

lst_matcher = re.compile(r"^([0-9A-F]{6})r \\d (\w\w | )(\w\w | )(\w\w | )(\w\w | )\s*$")
lst_matcher = re.compile(r"^([0-9A-F]{6})r \d (\w\w | )(\w\w | )(\w\w | )(\w\w | )\s*$")
seg_matcher = re.compile(r'^\s*\.segment "([A-Z_][A-Z0-9_]*)"', re.IGNORECASE)
spc_matcher = re.compile(r'^\s*\.(bss|code|data|rodata|zeropage)(\s|$)', re.IGNORECASE)

Expand Down

0 comments on commit 58a1f9b

Please sign in to comment.