## @file\r
-# This file is used to define class objects of INF file [LibraryClasses] section. \r
-# It will consumed by InfParser. \r
+# This file is used to define class objects of INF file [LibraryClasses] section.\r
+# It will consumed by InfParser.\r
#\r
-# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
#\r
-# This program and the accompanying materials are licensed and made available \r
-# under the terms and conditions of the BSD License which accompanies this \r
-# distribution. The full text of the license may be found at \r
+# This program and the accompanying materials are licensed and made available\r
+# under the terms and conditions of the BSD License which accompanies this\r
+# distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
#\r
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
for (ArchItem, ModuleItem) in KeyList:\r
#\r
# Validate Arch\r
- # \r
+ #\r
if (ArchItem == '' or ArchItem is None):\r
ArchItem = 'COMMON'\r
\r
\r
##SetLibraryClasses\r
#\r
- # \r
+ #\r
# @param HelpString: It can be a common comment or contain a recommend\r
# instance.\r
#\r
Line=LibItemObj.CurrentLine.GetLineNo(),\r
ExtraData=LibItemObj.CurrentLine.GetLineString())\r
#\r
- # Validate FFE \r
+ # Validate FFE\r
#\r
FeatureFlagRtv = IsValidFeatureFlagExp(LibItem[1].strip())\r
if not FeatureFlagRtv[0]:\r
#\r
# Determine Library class duplicate. Follow below rule:\r
#\r
- # A library class keyword must not be duplicated within a \r
- # [LibraryClasses] section. Library class keywords may appear in \r
- # multiple architectural and module type [LibraryClasses] sections. \r
- # A library class keyword listed in an architectural or module type \r
- # [LibraryClasses] section must not be listed in the common \r
+ # A library class keyword must not be duplicated within a\r
+ # [LibraryClasses] section. Library class keywords may appear in\r
+ # multiple architectural and module type [LibraryClasses] sections.\r
+ # A library class keyword listed in an architectural or module type\r
+ # [LibraryClasses] section must not be listed in the common\r
# architectural or module type [LibraryClasses] section.\r
- # \r
+ #\r
# NOTE: This check will not report error now. But keep code for future enhancement.\r
- # \r
+ #\r
# for Item in self.LibraryClasses:\r
# if Item.GetLibName() == LibItemObj.GetLibName():\r
# ItemSupArchList = Item.GetSupArchList()\r