# This file is used to define common parsing related functions used in parsing INF/DEC/DSC process\r
#\r
# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this 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
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
\r
##\r
# Import Modules\r
#\r
+from __future__ import absolute_import\r
from .StringUtils import *\r
from CommonDataClass.DataClass import *\r
from .DataType import *\r
Macros[Record[0]] = Record[1]\r
\r
#\r
- # Overrided by Global Macros\r
+ # Overridden by Global Macros\r
#\r
Macros.update(GlobalMacro)\r
\r
Macros[Record[0]] = Record[1]\r
\r
#\r
- # Overrided by Global Macros\r
+ # Overridden by Global Macros\r
#\r
Macros.update(GlobalMacro)\r
\r
# @param Table: The Table to be inserted\r
# @param FileID: The ID of belonging file\r
# @param Filename: The name of belonging file\r
-# @param CurrentSection: The name of currect section\r
+# @param CurrentSection: The name of current section\r
# @param SectionItemList: A list of items of the section\r
# @param ArchList: A list of arches\r
# @param ThirdList: A list of third parameters, ModuleType for LibraryClass and SkuId for Dynamic Pcds\r