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

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Aug 26 16:05:18 CEST 2010


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

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.

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-devel mailing list