PParser fails on second open of an include file
Original Reporter info from Mantis: dodi
-
Reporter name: Hans-Peter Diettrich
Original Reporter info from Mantis: dodi
- Reporter name: Hans-Peter Diettrich
Description:
TFileResolver.FindIncludeFile should exit in or after the search loop, as soon as a file has been found and a TFileLineReader has been created without an exception.
Otherwise another attempt to open the same file, e.g. with BaseDirectory, will cause a privilege violation exception on Windows.
Steps to reproduce:
Try to create the RTL documentation on Windows, using "make rtl.chk".
A number of "Could not find include file" errors will occur.
Mantis conversion info:
- Mantis ID: 20791
- Fixed in version: 3.0.0
- Fixed in revision: 19795 (#3e3852a4)
- Target version: 3.0.0