# This file is used to define common parsing related functions used in parsing\r
# Inf/Dsc/Makefile process\r
#\r
-# Copyright (c) 2008 - 2010, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2008 - 2010, 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
if NewRecordSet:\r
NewRecord = NewRecordSet[0][0]\r
VariableValueList = NewRecord.split('},')\r
- if len(VariableValueList) > Index:\r
- VariableValue = VariableValueList[Index]\r
+ for VariableValue in VariableValueList[Index:]:\r
NewVariableValueList = VariableValue.split(',')\r
if len(NewVariableValueList) > 1:\r
NewVariableValue = NewVariableValueList[1].strip()\r