[fpc-devel] Incomplete docs on operator precedence / Question about actual precedence
    Martin Frb 
    lazarus at mfriebe.de
       
    Mon Feb  3 18:52:38 CET 2014
    
    
  
On 03/02/2014 15:25, Martin Frb wrote:
> On 03/02/2014 14:37, Sven Barth wrote:
>> Nevertheless FPC provides the correct operator precedence (no matter 
>> whether overloading is used or not, because that is done at a 
>> different level of the parser):
>> - power
>> - unary plus/minus
>> - product/divison
>> - addition/substraction
>
By the way, where does ** stand against @ ? ("**" is not in the 
precedence table on the docs)
@invalue**2
Besides, that this again is not possible (except overloaded) because it 
is either
pinteger**2
@(expression result has no address)
But
1) For which error should it go
2) on overload, what would it do?
    
    
More information about the fpc-devel
mailing list