summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/Expression.py
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2018-01-31 11:49:14 +0300
committerLiming Gao <liming.gao@intel.com>2018-02-01 04:21:47 +0300
commit6f49996cedfb198beb374ea0cb89a06a71ef960c (patch)
treecebcdee6a3a775494d658bc0330141994c2d3bb5 /BaseTools/Source/Python/Common/Expression.py
parent81add864f4af238a2dfb702904a6abec12738b9d (diff)
downloadedk2-6f49996cedfb198beb374ea0cb89a06a71ef960c.tar.xz
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>
Diffstat (limited to 'BaseTools/Source/Python/Common/Expression.py')
-rw-r--r--BaseTools/Source/Python/Common/Expression.py2
1 files changed, 1 insertions, 1 deletions
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 = []