BaseTools: Structure Pcd in CommandLine.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
(cherry picked from commit 6f49996ced
)
This commit is contained in:
committed by
Yonghong Zhu
parent
fde92af67d
commit
1de7f6464a
@ -791,7 +791,7 @@ class ValueExpressionEx(ValueExpression):
|
||||
raise BadExpression('Type %s PCD Value Size is Larger than 4 byte' % self.PcdType)
|
||||
if self.PcdType == 'UINT64' and Size > 8:
|
||||
raise BadExpression('Type %s PCD Value Size is Larger than 8 byte' % self.PcdType)
|
||||
if self.PcdType in ['VOID*']:
|
||||
else:
|
||||
try:
|
||||
TmpValue = long(PcdValue)
|
||||
TmpList = []
|
||||
|
Reference in New Issue
Block a user