[fpc-devel] fpdoc gives error on deprecated keyword

Graeme Geldenhuys graemeg at opensoft.homeip.net
Tue Jul 21 09:40:57 CEST 2009


Hi,

I just want to confirm if this is a bug in fpdoc from FPC v2.2.5

Here is the class interface

   // alias class will be removed soon.
   TVisOwnedQrySelect = class(TtiVisitorSelect)
   end deprecated;


This is the correct syntax for the usage of "deprecated" and it compiles 
fine with FPC.

Now when I run the fpdoc over that unit, fpdoc reports the following error:

../Source/Core/tiVisitorDB.pas(157,16): Expected ";" at token 
"Identifier deprecated"


Is fpdoc expecting a different syntax for "deprecated" keyword?


Regards,
   - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list