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>
This commit is contained in:
committed by
Yonghong Zhu
parent
2eb370ffdb
commit
ca2c8725c4
@ -136,21 +136,6 @@ class Warning (Exception):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.Message
|
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
|
## The Include file content class that used to record file data when parsing include file
|
||||||
#
|
#
|
||||||
# May raise Exception when opening file.
|
# May raise Exception when opening file.
|
||||||
|
Reference in New Issue
Block a user