mirror_edk2/BaseTools/Source/Python/AutoGen
Yunhua Feng 6b285ca366 BaseTools: Fix generating array's size is incorrect in AutoGen.c
case example:
DSC:
 [PcdsFixedAtBuild]
  PcdToken.PcdName | "A"
 [Components]
 TestPkg/TestDriver.inf {
  PcdToken.PcdName | {0x41,0x42,0x43,0x44}
 }

Generating the size of array is incorrect in AutoGen.c
 GLOBAL_REMOVE_IF_UNREFERENCED const UINT8
 _gPcd_FixedAtBuild_PcdName[2] = {0x41,0x42,0x43,0x44};

Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=950
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
2018-05-10 08:36:00 +08:00
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
AutoGen.py BaseTools: dont make iterator into list if not needed 2018-05-04 13:08:09 +08:00
BuildEngine.py BaseTools: AutoGen - refactor class factory 2018-05-04 13:03:01 +08:00
GenC.py BaseTools: Fix generating array's size is incorrect in AutoGen.c 2018-05-10 08:36:00 +08:00
GenDepex.py BaseTools: refactor Depex optomization 2018-05-04 13:07:56 +08:00
GenMake.py BaseTools: AutoGen - remove unused variables. 2018-04-26 14:43:25 +08:00
GenPcdDb.py BaseTools: standardize GUID and pack size 2018-05-04 13:07:34 +08:00
GenVar.py BaseTools: dont make iterator into list if not needed 2018-05-04 13:08:09 +08:00
IdfClassObject.py BaseTools: remove unused member variable 2018-05-04 13:03:11 +08:00
InfSectionParser.py BaseTools: remove redundant content in InfSectionParser 2018-05-04 13:03:11 +08:00
StrGather.py BaseTools: Remove equality operator with None 2018-03-30 08:25:13 +08:00
UniClassObject.py BaseTools: AutoGen - UniClassObject refactor static methods 2018-05-04 13:03:03 +08:00
ValidCheckingInfoObject.py BaseTools: standardize GUID and pack size 2018-05-04 13:07:34 +08:00