[fpc-devel] [patch] fpdoc linear writer ResolveLink fix
graemeg.lists at gmail.com
Fri Aug 27 12:05:58 CEST 2010
Op 2010-08-26 21:17, Marco van de Voort het geskryf:
> 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.
Other than than, RTL, FCL and fpGUI documentation output was all identical.
On a side note, the current version (timed with EpicTimer) was slightly
fast because it needs to do less recursive calls, but the difference was
only a few milliseconds in each case.
I attached a patch to the original bug report to remove the "if pos(..)=1"
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
More information about the fpc-devel