From: Hess Chen Date: Wed, 22 Oct 2014 06:44:45 +0000 (+0000) Subject: BaseTools/UPT: Remove Macro Expend for UserExtension section X-Git-Tag: edk2-stable201903~10784 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=0414ec24bad8adf62982fe2c15d7f55a7a0fda6b 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 --- 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 #