mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Fix spurious reccmp warnings (#1101)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -79,7 +79,6 @@ class CvdumpSymbolsParser:
|
|||||||
"S_THUNK32",
|
"S_THUNK32",
|
||||||
"S_LABEL32",
|
"S_LABEL32",
|
||||||
"S_LDATA32",
|
"S_LDATA32",
|
||||||
"S_LPROC32",
|
|
||||||
"S_UDT",
|
"S_UDT",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -117,7 +116,7 @@ class CvdumpSymbolsParser:
|
|||||||
symbol_type: str = line_match.group("symbol_type")
|
symbol_type: str = line_match.group("symbol_type")
|
||||||
second_part: Optional[str] = line_match.group("second_part")
|
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
|
assert second_part is not None
|
||||||
if (match := self._symbol_line_function_regex.match(second_part)) is None:
|
if (match := self._symbol_line_function_regex.match(second_part)) is None:
|
||||||
logger.error("Invalid function symbol: %s", line[:-1])
|
logger.error("Invalid function symbol: %s", line[:-1])
|
||||||
|
Reference in New Issue
Block a user