[fpc-devel] [patch] fpdoc linear writer ResolveLink fix

Marco van de Voort marcov at stack.nl
Thu Aug 26 21:17:45 CEST 2010


In our previous episode, Graeme Geldenhuys said:
> 
> Finally squashed this bug!  Sorry Michael, I couldn't wait - I wanted to
> get some documentation released and needed this fix.
> 
> Patch is include in Mantis report
>    http://bugs.freepascal.org/view.php?id=17276

> In summary
> ----------
> Problem was that the check for Results quit the ResolveLink procedure to
> early. It never got to the recursive looking through modules or packages. I
> simply had to tweak the Results check.

I don't understand this patch!??!?!

What is the pos() case meant to solve?  If relative link starts with the
current modules unit name, then try package.relativelink?

But what if the relative link is to a different unit? I'm not sure, but
afaik this will break stuff that worked before ?



More information about the fpc-devel mailing list