From d1caef7f846d5d0a4538b0282896af4c5d03e062 Mon Sep 17 00:00:00 2001 From: jonschz Date: Sat, 8 Jun 2024 23:30:27 +0200 Subject: [PATCH] Fix CI issue --- tools/isledecomp/isledecomp/cvdump/symbols.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/isledecomp/isledecomp/cvdump/symbols.py b/tools/isledecomp/isledecomp/cvdump/symbols.py index bd9ca2f3..22c1b32e 100644 --- a/tools/isledecomp/isledecomp/cvdump/symbols.py +++ b/tools/isledecomp/isledecomp/cvdump/symbols.py @@ -99,7 +99,11 @@ def read_line(self, line: str): # We do not need this info at the moment, might be useful in the future pass elif (match := self._flags_frame_pointer_regex.match(line)) is not None: - assert self.current_function is not None + if self.current_function is None: + logger.error( + "Found a `Flags: Frame Ptr Present` but self.current_function is None" + ) + return self.current_function.frame_pointer_present = True else: # Most of these are either `** Module: [...]` or data we do not care about