Currently the struct parser for StructPcd Generation does not
filter the types such as UINT8 which should be ignored successfully.
This patch modifies this issue.
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
efitxt = efivarstore_format.findall(self.text)\r
for i in efitxt:\r
struct = struct_re.findall(i.replace(' ',''))\r
+ if struct[0] in self._ignore:\r
+ continue\r
name = name_re.findall(i.replace(' ',''))\r
if struct and name:\r
efivarstore_dict[name[0]]=struct[0]\r