]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Common/Expression.py
BaseTools: Report more clear error message for PCD used in expression
authorzhijufan <zhijux.fan@intel.com>
Wed, 22 Aug 2018 08:22:22 +0000 (16:22 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 6 Sep 2018 01:12:56 +0000 (09:12 +0800)
commitfa6e2804de6a7c9b108afcba4b03714b13f4a113
tree516fe902e2c9cf75ec1b8695054cc814748b5431
parentac4578af364916a8848453ad0f719e872b8782ec
BaseTools: Report more clear error message for PCD used in expression

Only the FeatureFlag type or FixedAtBuild type can be used in the
expression.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/Common/Expression.py
BaseTools/Source/Python/Common/RangeExpression.py