summaryrefslogtreecommitdiff
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorHess Chen <hesheng.chen@intel.com>2014-10-22 06:44:45 +0000
committerhchen30 <hchen30@Edk2>2014-10-22 06:44:45 +0000
commit0414ec24bad8adf62982fe2c15d7f55a7a0fda6b (patch)
treeb16e750242b740bd9c9b8a10adc64e619cbd6631 /BaseTools/Source
parent43654b1cb92269a6d6374f33f729efe91ed9d788 (diff)
downloadedk2-platforms-0414ec24bad8adf62982fe2c15d7f55a7a0fda6b.tar.xz
BaseTools/UPT: Remove Macro Expend for UserExtension section
Remove Macro Expend for UserExtension section Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16226 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source')
-rw-r--r--BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py b/BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py
index 9c3d703ad1..10a82cbfd8 100644
--- a/BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py
+++ b/BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py
@@ -216,20 +216,11 @@ class InfGuidPpiProtocolSectionParser(InfParserSectionRoot):
#
for Line in SectionString:
LineContent = Line[0]
- LineNo = Line[1]
if LineContent.strip() == '':
continue
- #
- # Replace with [Defines] section Macro
- #
- LineContent = InfExpandMacro(LineContent,
- (FileName, LineContent, LineNo),
- self.FileLocalMacros,
- None)
UserExtensionContent += LineContent + DT.END_OF_LINE
-
continue
#