diff options
Diffstat (limited to 'BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py')
-rw-r--r-- | BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py b/BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py index 10a82cbfd8..12ffedaaec 100644 --- a/BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py +++ b/BaseTools/Source/Python/UPT/Parser/InfGuidPpiProtocolSectionParser.py @@ -1,7 +1,7 @@ ## @file
# This file contained the parser for [Guids], [Ppis], [Protocols] sections in INF file
#
-# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials are licensed and made available
# under the terms and conditions of the BSD License which accompanies this
@@ -217,8 +217,9 @@ class InfGuidPpiProtocolSectionParser(InfParserSectionRoot): for Line in SectionString:
LineContent = Line[0]
- if LineContent.strip() == '':
- continue
+# Comment the code to support user extension without any statement just the section header in []
+# if LineContent.strip() == '':
+# continue
UserExtensionContent += LineContent + DT.END_OF_LINE
continue
|