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)
|
||||
# Get a list of PCI IDs
|
||||
Overrides.PciDeviceId = ""
|
||||
while (self.__GetNextHexNumber()):
|
||||
Overrides.PciDeviceId = "{} {}".format(Overrides.PciDeviceId, self.__Token)
|
||||
while (self._GetNextHexNumber()):
|
||||
Overrides.PciDeviceId = "{} {}".format(Overrides.PciDeviceId, self._Token)
|
||||
if not Overrides.PciDeviceId:
|
||||
raise Warning.Expected("one or more Hex device ids", self.FileName, self.CurrentLineNumber)
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue