[fpc-pascal] Codetools and C-style constructs

Howard Page-Clark hdpc at talktalk.net
Wed Dec 19 01:09:42 CET 2012


On 18/12/12 10:56, Mattias Gaertner wrote:

>> Looking through some of the codetools sources makes me wonder if the
>> codetools overlooks some C-style FPC operators.
>>
>> KeywordFuncLists.pas, for instance, seems not to know about >>, <<,
>> +=, -=, *=, /=.
>
> I added the << and >>.
> The others are assignment operators. AFAIK they can not be overloaded.
>
>> Or are these operators are catered for elsewhere in the codetools?
>
> Can you give an example, in what context you are missing an operator?

I have not encountered any errors in relation to codetoools handling of 
these operators, and I had not understood the overload orientation of 
the routines in that unit. I'm just trying to fathom how some of the 
functionality works (from browsing the source), piece by piece.

Howard




More information about the fpc-pascal mailing list