[fpc-devel] [patch] fpdoc linear writer ResolveLink fix
Michael Van Canneyt
michael at freepascal.org
Thu Aug 26 16:42:30 CEST 2010
On Thu, 26 Aug 2010, Graeme Geldenhuys wrote:
> Finally squashed this bug! Sorry Michael, I couldn't wait - I wanted to
> get some documentation released and needed this fix.
No need to apologize; It's great that you found a fix. I didn't find time to
work on it, so if you did: perfect....
> Patch is include in Mantis report
> 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.
> Remaining issue.
> Links in module topics (eg: system unit documentation) is not resolved.
> This bug is not caused by my patch - the bug was there all the time, but
> unknown to me. No wonder DocView could never find documentation on Pos()
> function - and I thought it was a DocView bug.
> The ScanModule call (inside the linear constructor) does call
> AddTopicPages, but I don't know why they are not added correctly to the
> link list. If you add "system.writeln(...)" in the AddLabel() method, you
> will see in the output that things like "#rtl.system.Pos" does not exist.
> No idea why yet.
We'll have to do some more debugging.
I applied the patch.
More information about the fpc-devel