[fpc-devel] fpdoc gives error on deprecated keyword
Michael Van Canneyt
michael at freepascal.org
Tue Jul 21 11:33:28 CEST 2009
On Tue, 21 Jul 2009, Graeme Geldenhuys wrote:
> Graeme Geldenhuys wrote:
>>
>> 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?
>
>
> fpdoc also fails to generate HTML help output for that class
> (TVisOwnedQrySelect) and any other classes defined below it in the unit.
This is logical, as it has encountered an error.
The problem is in the pparser unit: it does not recognize 'deprecated' after a
class type definition. This unit needs to be enhanced.
In fact, in the end it should parse a whole pascal unit, but that is a long
term goal.
Michael.
More information about the fpc-devel
mailing list