[fpc-devel] Clarify expression grammar

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Nov 6 06:49:27 CET 2014


Vsevolod Alekseyev schrieb:
> Hi all,
> 
> in the FPC reference at 
> http://www.freepascal.org/docs-html/ref/refse68.html#x127-13700012.1 , 
> the formal grammar spec only goes down as far as factor. Can I please 
> see the grammar for variable reference? A variable reference can be an 
> arbitrarily complex thing; for example, 
> MyStructArray[MyFunction(I)*10+1].StructMember[Ord(J)] is a perfectly 
> valid variable reference.

ACK
I'm also missing the "^", "." and "[...]" operators/selectors from the 
list of operators.

DoDi




More information about the fpc-devel mailing list