summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/DataType.py
diff options
context:
space:
mode:
authorHess Chen <hesheng.chen@intel.com>2014-12-09 06:41:58 +0000
committerhchen30 <hchen30@Edk2>2014-12-09 06:41:58 +0000
commit8d62ae35ca6a4d0331f9ebd7609265378e69afbf (patch)
treeb18d514ad965cd7e8613e851afebb0fac55accf3 /BaseTools/Source/Python/Common/DataType.py
parent3720ee6d32219fd67d391f53f2cb812dc197a86b (diff)
downloadedk2-platforms-8d62ae35ca6a4d0331f9ebd7609265378e69afbf.tar.xz
BaseTools/ECC: Fix some issues of ECC tool
Add support for the usage which is defined in the above line for a Protocol/Ppi/Guid Add support for “!ERROR” Ignore issue of parsing a macro Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16487 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/Common/DataType.py')
-rw-r--r--BaseTools/Source/Python/Common/DataType.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/Common/DataType.py b/BaseTools/Source/Python/Common/DataType.py
index 57e5063ff2..6d66523847 100644
--- a/BaseTools/Source/Python/Common/DataType.py
+++ b/BaseTools/Source/Python/Common/DataType.py
@@ -442,6 +442,7 @@ TAB_ELSE = '!else'
TAB_IF_DEF = '!ifdef'
TAB_IF_N_DEF = '!ifndef'
TAB_IF_EXIST = '!if exist'
+TAB_ERROR = '!ERROR'
#
# Unknown section