]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools/UPT: Remove Macro Expend for UserExtension section
authorHess Chen <hesheng.chen@intel.com>
Wed, 22 Oct 2014 06:44:45 +0000 (06:44 +0000)
committerhchen30 <hchen30@Edk2>
Wed, 22 Oct 2014 06:44:45 +0000 (06:44 +0000)
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

BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py

index 9c3d703ad184ddb228c32901fa9e643f18443abd..10a82cbfd862da28d104f166910a5d2c743aa9ff 100644 (file)
@@ -216,20 +216,11 @@ class InfGuidPpiProtocolSectionParser(InfParserSectionRoot):
         #\r
         for Line in SectionString:\r
             LineContent = Line[0]\r
-            LineNo = Line[1]\r
 \r
             if LineContent.strip() == '':\r
                 continue\r
-            #\r
-            # Replace with [Defines] section Macro\r
-            #\r
-            LineContent = InfExpandMacro(LineContent,\r
-                                         (FileName, LineContent, LineNo),\r
-                                         self.FileLocalMacros,\r
-                                         None)\r
 \r
             UserExtensionContent += LineContent + DT.END_OF_LINE\r
-\r
             continue\r
 \r
         #\r