[fpc-devel] FPDoc parser doesn't handle forward declarations properly?

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Wed Dec 7 13:49:50 CET 2011



On Wed, 7 Dec 2011, Hans-Peter Diettrich wrote:

> In my current tests I found empty classes (no members listed), e.g. 
> Classes.TFPList. The Declaration shows:
>
>  Source position: classesh.inc line 170
>  type TFPList = class end;
>
> This line reads in the source code as
>  TFPList = class;
> with the declaration following in line 188 ff.
>  TFPList = class(TObject)
>  ...
>
> What's wrong?

Hm. It should work correctly; At least, it did so in the past. I will need
to check this.

Michael.



More information about the fpc-devel mailing list