Skip to content

Commit

Permalink
Fix spurious reccmp warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschz committed Sep 8, 2024
1 parent 4a01d15 commit 53ae816
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/isledecomp/isledecomp/cvdump/symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class CvdumpSymbolsParser:
"S_THUNK32",
"S_LABEL32",
"S_LDATA32",
"S_LPROC32",
"S_UDT",
]

Expand Down Expand Up @@ -117,7 +116,7 @@ def _parse_generic_case(self, line, line_match: Match[str]):
symbol_type: str = line_match.group("symbol_type")
second_part: Optional[str] = line_match.group("second_part")

if symbol_type == "S_GPROC32":
if symbol_type in ["S_GPROC32", "S_LPROC32"]:
assert second_part is not None
if (match := self._symbol_line_function_regex.match(second_part)) is None:
logger.error("Invalid function symbol: %s", line[:-1])
Expand Down

0 comments on commit 53ae816

Please sign in to comment.