From ece3550e62996546824fc37db6299d3618e40910 Mon Sep 17 00:00:00 2001 From: jonschz <17198703+jonschz@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:00:08 +0200 Subject: [PATCH] Fix spurious reccmp warnings (#1101) Co-authored-by: jonschz --- tools/isledecomp/isledecomp/cvdump/symbols.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/isledecomp/isledecomp/cvdump/symbols.py b/tools/isledecomp/isledecomp/cvdump/symbols.py index 73cb152e..cfb9f474 100644 --- a/tools/isledecomp/isledecomp/cvdump/symbols.py +++ b/tools/isledecomp/isledecomp/cvdump/symbols.py @@ -79,7 +79,6 @@ class CvdumpSymbolsParser: "S_THUNK32", "S_LABEL32", "S_LDATA32", - "S_LPROC32", "S_UDT", ] @@ -117,7 +116,7 @@ class CvdumpSymbolsParser: 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])