From 0414ec24bad8adf62982fe2c15d7f55a7a0fda6b Mon Sep 17 00:00:00 2001 From: Hess Chen Date: Wed, 22 Oct 2014 06:44:45 +0000 Subject: [PATCH] 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 Reviewed-by: Gao, Liming git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16226 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py | 9 --------- 1 file changed, 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 # -- 2.39.2