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
This commit is contained in:
@ -216,20 +216,11 @@ class InfGuidPpiProtocolSectionParser(InfParserSectionRoot):
|
|||||||
#
|
#
|
||||||
for Line in SectionString:
|
for Line in SectionString:
|
||||||
LineContent = Line[0]
|
LineContent = Line[0]
|
||||||
LineNo = Line[1]
|
|
||||||
|
|
||||||
if LineContent.strip() == '':
|
if LineContent.strip() == '':
|
||||||
continue
|
continue
|
||||||
#
|
|
||||||
# Replace with [Defines] section Macro
|
|
||||||
#
|
|
||||||
LineContent = InfExpandMacro(LineContent,
|
|
||||||
(FileName, LineContent, LineNo),
|
|
||||||
self.FileLocalMacros,
|
|
||||||
None)
|
|
||||||
|
|
||||||
UserExtensionContent += LineContent + DT.END_OF_LINE
|
UserExtensionContent += LineContent + DT.END_OF_LINE
|
||||||
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user