mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 13:10:28 +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)
|
Result := FindAbsoluteLink(ALinkDest)
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
Result := ResolveLink(AModule, amodule.packagename + '.' + ALinkDest);
|
||||||
|
if Length(Result) > 0 then
|
||||||
|
exit;
|
||||||
|
|
||||||
Result := ResolveLink(AModule, AModule.PathName + '.' + ALinkDest);
|
Result := ResolveLink(AModule, AModule.PathName + '.' + ALinkDest);
|
||||||
if Length(Result) > 0 then
|
if Length(Result) > 0 then
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user