[fpc-devel] [patch] fpdoc linear writer ResolveLink fix
    Michael Van Canneyt 
    michael at freepascal.org
       
    Fri Aug 27 13:32:08 CEST 2010
    
    
  
On Fri, 27 Aug 2010, Marco van de Voort wrote:
> In our previous episode, Graeme Geldenhuys said:
>>> What is the pos() case meant to solve?  If relative link starts with the
>>> current modules unit name, then try package.relativelink?
>>
>> I did some tests and compared output files generated. I only found 4
>> incorrectly resolved links in the current fpdoc version (RTL docs, dos
>> unit). Removing the if pos(..)=1 block fixes the problem.
>
> Maybe. But it seems to effectively disable  module.identifier resolution
> (for module<>currentmodule).  So while it may not be the most used
> functionality, the question is why it must be (effectively) removed.
It was never supported in the first place.
There were only 2 supported ways:
- #package.module.identifier
- identifier
module.identifier was never supposed to work.
Michael.
    
    
More information about the fpc-devel
mailing list