From 6f49996cedfb198beb374ea0cb89a06a71ef960c Mon Sep 17 00:00:00 2001 From: "Feng, Bob C" Date: Wed, 31 Jan 2018 16:49:14 +0800 Subject: BaseTools: Structure Pcd in CommandLine. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng Cc: Liming Gao Reviewed-by: Liming Gao --- BaseTools/Source/Python/Common/Expression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BaseTools/Source/Python/Common/Expression.py') diff --git a/BaseTools/Source/Python/Common/Expression.py b/BaseTools/Source/Python/Common/Expression.py index 486c537029..b8c48460ff 100644 --- a/BaseTools/Source/Python/Common/Expression.py +++ b/BaseTools/Source/Python/Common/Expression.py @@ -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 = [] -- cgit v1.2.3