[fpc-devel] C style operator doesn't work with properties in 2.3.1

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Jul 17 09:33:30 CEST 2008


On Thu, Jul 17, 2008 at 9:07 AM, Micha Nelissen <micha at neli.hopto.org> wrote:
> Jonas Maebe wrote:
>>
>> Indeed. I've checked the code and properties are explicitly not allowed
>> for the C-style operators. The reason is that the x+=y is translated into
>> "x:=x+y" at the parser level rather than at the lexical level. This
>
> So I guess the obvious question is: would it be risky to change that so it
> parses it at the lexical level? :-)


My question too....   Would somebody be so kind as to explain the
difference to me?  As I mentioned before, I'm not a compiler
developer.


Regards,
 - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list