]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Report error for incorrect hex value format
authorzhijufan <zhijux.fan@intel.com>
Tue, 11 Sep 2018 02:49:34 +0000 (10:49 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 12 Sep 2018 02:57:00 +0000 (10:57 +0800)
commitb62cbfb787e1ac594fce618a1a9c86cabc63d54b
tree5cac0cfa4746dccde3fab38bd6eaffd38cde0859
parent5c9ac43f47865bb9b13608fd7ae1d39ab73ef397
BaseTools: Report error for incorrect hex value format

The case is user use 0x1} as a hex value for Pcd, it directly cause
tool report traceback info. This patch add more error info.

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/Misc.py