summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>2018-03-16 05:39:08 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-03-21 13:40:45 +0800
commitca2c8725c4894c55ffd7ce091e5f0c4ef9c794ed (patch)
treefbc3f6d04325389f63bb7abc9af8b59ddc10a181 /BaseTools/Source/Python
parent2eb370ffdb179a865a65a3bca40d284958e42424 (diff)
downloadedk2-ca2c8725c4894c55ffd7ce091e5f0c4ef9c794ed.tar.gz
edk2-ca2c8725c4894c55ffd7ce091e5f0c4ef9c794ed.tar.bz2
edk2-ca2c8725c4894c55ffd7ce091e5f0c4ef9c794ed.zip
BaseTools: FdfParser remove class never used.
the MacroProfile class is never instantiated nor referenced. Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
-rw-r--r--BaseTools/Source/Python/GenFds/FdfParser.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/BaseTools/Source/Python/GenFds/FdfParser.py b/BaseTools/Source/Python/GenFds/FdfParser.py
index 19c1ad372c..e35057931f 100644
--- a/BaseTools/Source/Python/GenFds/FdfParser.py
+++ b/BaseTools/Source/Python/GenFds/FdfParser.py
@@ -136,21 +136,6 @@ class Warning (Exception):
def __str__(self):
return self.Message
-## The MACRO class that used to record macro value data when parsing include file
-#
-#
-class MacroProfile :
- ## The constructor
- #
- # @param self The object pointer
- # @param FileName The file that to be parsed
- #
- def __init__(self, FileName, Line):
- self.FileName = FileName
- self.DefinedAtLine = Line
- self.MacroName = None
- self.MacroValue = None
-
## The Include file content class that used to record file data when parsing include file
#
# May raise Exception when opening file.