]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/DecClassObjectLight.py
Sync BaseTools Branch (version r2321) to EDKII main trunk.
[mirror_edk2.git] / BaseTools / Source / Python / Common / DecClassObjectLight.py
index 1982dd05a0e2c9ec078b272d6d164f5000329a2e..cba88b64f22e431721e60a756fc71a43387e7784 100644 (file)
@@ -135,8 +135,8 @@ class Dec(DecObject):
         for Line in open(Filename, 'r'):\r
             LineNo = LineNo + 1\r
             # Remove comment block\r
-            if Line.find(TAB_COMMENT_R8_START) > -1:\r
-                ReservedLine = GetSplitValueList(Line, TAB_COMMENT_R8_START, 1)[0]\r
+            if Line.find(TAB_COMMENT_EDK_START) > -1:\r
+                ReservedLine = GetSplitValueList(Line, TAB_COMMENT_EDK_START, 1)[0]\r
                 if ReservedLine.strip().startswith(TAB_COMMENT_SPLIT):\r
                     Comment = Comment + Line.strip() + '\n'\r
                     ReservedLine = ''\r
@@ -145,9 +145,9 @@ class Dec(DecObject):
                 IsFindBlockComment = True\r
                 if not ReservedLine:\r
                     continue\r
-            if Line.find(TAB_COMMENT_R8_END) > -1:\r
-                Comment = Comment + Line[:Line.find(TAB_COMMENT_R8_END) + len(TAB_COMMENT_R8_END)] + '\n'\r
-                Line = ReservedLine + GetSplitValueList(Line, TAB_COMMENT_R8_END, 1)[1]\r
+            if Line.find(TAB_COMMENT_EDK_END) > -1:\r
+                Comment = Comment + Line[:Line.find(TAB_COMMENT_EDK_END) + len(TAB_COMMENT_EDK_END)] + '\n'\r
+                Line = ReservedLine + GetSplitValueList(Line, TAB_COMMENT_EDK_END, 1)[1]\r
                 ReservedLine = ''\r
                 IsFindBlockComment = False\r
             if IsFindBlockComment:\r
@@ -312,7 +312,7 @@ class Dec(DecObject):
         self.GenPackageHeader(ContainerFile)\r
         \r
         # Generate Includes\r
-        # Only for R8\r
+        # Only for Edk\r
         self.GenIncludes(ContainerFile)\r
 \r
         # Generate Guids\r