mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 10:19:30 +02:00
pastojs: fixed search inc file
This commit is contained in:
parent
76aa9b1f8b
commit
89dbfd0d99
@ -1887,6 +1887,7 @@ function TPas2jsFilesCache.FindIncludeFileName(const aFilename, SrcDir,
|
||||
i: Integer;
|
||||
CurFile: String;
|
||||
begin
|
||||
Result:=false;
|
||||
Dir:=IncludeTrailingPathDelimiter(Dir);
|
||||
for i:=0 to length(SearchedDir)-1 do
|
||||
if SearchedDir[i]=Dir then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user