[Lazarus] enumerator operator not supported by codetools ?

Michael Van Canneyt michael at freepascal.org
Thu Apr 2 14:41:52 CEST 2015



On Thu, 2 Apr 2015, Mattias Gaertner wrote:

> On Thu, 2 Apr 2015 13:58:45 +0200 (CEST)
> Michael Van Canneyt <michael at freepascal.org> wrote:
>
>> Hi,
>>
>> When adding an enumerator operator to source code
>>
>>    operator Enumerator(ASchema: TSchema): TSchemaEnumerator;
>>
>> The codetools stop working.
>
> Works here.
>
>> I get an error 'Expected end., but...'
>
> Full error message please.
>
> Can you give a complete example?

Turns out it was my own fault; Had to move the operator out of the 'Type' block.
My apologies for the disturbance :(

Michael.




More information about the Lazarus mailing list