- # IncList = gINCLUDE_PATTERN.findall(Line)\r
- IncList = []\r
- if len(IncList) == 1:\r
- for Dir in [File.Dir] + self.IncludePathList:\r
- IncFile = PathClass(str(IncList[0]), Dir)\r
- self.IncFileList.append(IncFile)\r
- if os.path.isfile(IncFile.Path):\r
- Lines.extend(self.PreProcess(IncFile, True))\r
- break\r
- else:\r
- EdkLogger.Error("Unicode File Parser", \r
- ToolError.FILE_NOT_FOUND, \r
- Message="Cannot find include file", \r
- ExtraData=str(IncList[0]))\r
- continue\r
-\r