Running fpdoc over fpGUI code, the Linear Output Writer (LaTeX and new IPF output) for constants do not contain the full declaration.
The problem is detected inside the TLinearWriter.WriteConsts() method. Debugging the fpdoc code inside WriteConsts(), it retrieves the declaration as shown in the debug tooltip (screeenshot attached). fpdoc (linear writer descendant): clAliceBlue = The actual code (inside an include file) is: clAliceBlue = TfpgColor($f0f8ff); The problem seems to be localised to the Linear Output descendants. I double checked with the fpdoc HTML output, and the clAliceBlue declaration is full and correct. I'm using FPC 2.5.1 Trunk (updated yesterday). Is this down to a fcl-passrc parser bug, or a fpdoc processing bug. I believe the latter is true because otherwise the HTML Writer output would also have been wrong. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/
<<attachment: Screenshot.png>>
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel