Removed the code checking invalid section name for R8 modules
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 22 Jan 2008 01:31:22 +0000 (01:31 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 22 Jan 2008 01:31:22 +0000 (01:31 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@965 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Common/String.py

index 3e36aa2..db12144 100644 (file)
@@ -564,16 +564,16 @@ def PreCheck(FileName, FileContent, SupSectionTag):
             #\r
             # Tag not in defined value\r
             #\r
-            TagList = GetSplitValueList(Line, DataType.TAB_COMMA_SPLIT)\r
-            for Tag in TagList:\r
-                Tag = Tag.split(DataType.TAB_SPLIT, 1)[0].replace('[', '').replace(']', '').strip()\r
-                if Tag.upper() == DataType.TAB_COMMON_DEFINES.upper():\r
-                    break\r
-                if Tag.upper() == DataType.TAB_USER_EXTENSIONS.upper():\r
-                    break\r
-                if Tag.upper() not in map(lambda s: s.upper(), SupSectionTag):\r
-                    ErrorMsg = "'%s' is not a supportted section name." % Tag\r
-                    EdkLogger.error("Parser", PARSER_ERROR, ErrorMsg, File=FileName, Line=LineNo)\r
+            #TagList = GetSplitValueList(Line, DataType.TAB_COMMA_SPLIT)\r
+            #for Tag in TagList:\r
+            #    Tag = Tag.split(DataType.TAB_SPLIT, 1)[0].replace('[', '').replace(']', '').strip()\r
+            #    if Tag.upper() == DataType.TAB_COMMON_DEFINES.upper():\r
+            #        break\r
+            #    if Tag.upper() == DataType.TAB_USER_EXTENSIONS.upper():\r
+            #        break\r
+            #    if Tag.upper() not in map(lambda s: s.upper(), SupSectionTag):\r
+            #        ErrorMsg = "'%s' is not a supportted section name." % Tag\r
+            #        EdkLogger.error("Parser", PARSER_ERROR, ErrorMsg, File=FileName, Line=LineNo)\r
         \r
         #\r
         # Regenerate FileContent\r