if len(Line) == 0:\r
continue\r
\r
+ LineNo = GetLineNo(FileIn, Line, False)\r
+ if not Line.startswith('#image '):\r
+ EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'The %s in Line %s of File %s is invalid.' % (Line, LineNo, File.Path))\r
+\r
if Line.find('#image ') >= 0:\r
LineDetails = Line.split()\r
- LineNo = GetLineNo(FileIn, Line, False)\r
Len = len(LineDetails)\r
if Len != 3 and Len != 4:\r
EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'The format is not match #image IMAGE_ID [TRANSPARENT] ImageFileName in Line %s of File %s.' % (LineNo, File.Path))\r