Skip to content

Commit 4204833

Browse files
Philippe GilAnthonyLeonardoGracio
authored andcommitted
add missing new 'Resolve_Links' parameter
'-eL' Follow symbolic links when processing project files support added in gpr2 edge branch. Closes #1335 (cherry picked from commit f0cbd25)
1 parent ea0baa4 commit 4204833

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/gpr/lsp-gpr_files.adb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,8 +1475,9 @@ package body LSP.GPR_Files is
14751475
begin
14761476
if Name'Length > 0 then
14771477
return GPR2.Project.Create
1478-
(GPR2.Filename_Type (Name),
1479-
File.Search_Paths);
1478+
(Name => GPR2.Filename_Type (Name),
1479+
Resolve_Links => File.File_Provider.Follow_Symlinks,
1480+
Paths => File.Search_Paths);
14801481
else
14811482
return Path_Name.Undefined;
14821483
end if;

0 commit comments

Comments
 (0)