mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix merge in FDF parser for OptionROM override
Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Tomas Pilar <tpilar@solarflare.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
bfc87aa78e
commit
5b9639e697
|
@ -4396,8 +4396,8 @@ class FdfParser:
|
||||||
raise Warning.ExpectedEquals(self.FileName, self.CurrentLineNumber)
|
raise Warning.ExpectedEquals(self.FileName, self.CurrentLineNumber)
|
||||||
# Get a list of PCI IDs
|
# Get a list of PCI IDs
|
||||||
Overrides.PciDeviceId = ""
|
Overrides.PciDeviceId = ""
|
||||||
while (self.__GetNextHexNumber()):
|
while (self._GetNextHexNumber()):
|
||||||
Overrides.PciDeviceId = "{} {}".format(Overrides.PciDeviceId, self.__Token)
|
Overrides.PciDeviceId = "{} {}".format(Overrides.PciDeviceId, self._Token)
|
||||||
if not Overrides.PciDeviceId:
|
if not Overrides.PciDeviceId:
|
||||||
raise Warning.Expected("one or more Hex device ids", self.FileName, self.CurrentLineNumber)
|
raise Warning.Expected("one or more Hex device ids", self.FileName, self.CurrentLineNumber)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue