Initial the local variable of "File". Otherwise, the parser errors will escalate...
authorqhuang8 <qhuang8@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 14 Mar 2008 08:54:31 +0000 (08:54 +0000)
committerqhuang8 <qhuang8@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 14 Mar 2008 08:54:31 +0000 (08:54 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1069 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Common/InfClassObject.py

index d542b1a..3710935 100755 (executable)
@@ -529,6 +529,7 @@ class Inf(InfObject):
     #\r
     def GenModuleHeader(self, ContainerFile):\r
         EdkLogger.debug(2, "Generate ModuleHeader ...")\r
+        File = self.Identification.FileFullPath\r
         #\r
         # Update all defines item in database\r
         #\r