mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
* try to resolve relative url first in current package before current module,
solves bug #17146 git-svn-id: trunk@15768 -
This commit is contained in:
parent
b1b6ef237a
commit
1e7e80bfb3
@ -984,6 +984,10 @@ begin
|
||||
Result := FindAbsoluteLink(ALinkDest)
|
||||
else
|
||||
begin
|
||||
Result := ResolveLink(AModule, amodule.packagename + '.' + ALinkDest);
|
||||
if Length(Result) > 0 then
|
||||
exit;
|
||||
|
||||
Result := ResolveLink(AModule, AModule.PathName + '.' + ALinkDest);
|
||||
if Length(Result) > 0 then
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user