diff --git a/edk2toollib/uefi/edk2/parsers/buildreport_parser.py b/edk2toollib/uefi/edk2/parsers/buildreport_parser.py index f138bd33..98de0f22 100644 --- a/edk2toollib/uefi/edk2/parsers/buildreport_parser.py +++ b/edk2toollib/uefi/edk2/parsers/buildreport_parser.py @@ -346,7 +346,7 @@ def _ParseFdRegionForModules(self, rawcontents: str) -> None: a = rawcontents[index] tokens = a.split() if a.startswith("0x") and (len(tokens) == 3) and (a.count("(") == 1): - if ".inf" not in a.lower() or (a.count("(") != a.count(")")): + while ".inf" not in a.lower() or (a.count("(") != a.count(")")): a = a + rawcontents[index + 1].strip() index += 1 tokens = a.split()