[Lazarus] FPDoc Editor fails on namespace dotted unit names?

Michael Van Canneyt michael at freepascal.org
Thu Apr 18 09:33:45 CEST 2013



On Wed, 17 Apr 2013, Anthony Walter wrote:

> Follow up.
> I think I found another bug with fpdoc. I believe it parser fails and documentation generation stops if it encounters a generic type declaration like this:
> 
> { THardwareCollection<T> represents a collection of connectable devices such as joysticks }
> 
>   THardwareCollection<T> = class(TOwnerCollection<T>)
>   public
>     constructor Create;
>     procedure ScanHardware; virtual;
>   end; 
> 
> Breaks: THardwareCollection"here"<T>
> Error: Expected "=" at token "<" in file
> 
> What's the best way to search the free pascal mantis bug tracker to see if this issue has already been reported?

It has not been reported.

fpdoc currently does not support Delphi style generics. You should use FPC syntax for fpdoc to work.

So you can report this as missing delphi generics syntax.

Michael.


More information about the Lazarus mailing list