Sync BaseTool trunk (version r2474) into EDKII BaseTools.
Signed-off-by: lgao4 Reviewed-by: gikidy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12883 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -339,7 +339,7 @@ class InfParser(InfSectionParser):
|
||||
#
|
||||
# Found the first section, No file header.
|
||||
#
|
||||
if not DefineSectionParsedFlag:
|
||||
if DefineSectionParsedFlag and not HeaderCommentEnd:
|
||||
Logger.Error("InfParser",
|
||||
FORMAT_INVALID,
|
||||
ST.ERR_INF_PARSER_HEADER_MISSGING,
|
||||
|
Reference in New Issue
Block a user