Re: [go-nuts] Pointer dereference operator precedence

2017-07-20 Thread adrian . price
That makes sense, thank you! It does make it a little confusing that a special case was made for pointers to arrays that violates that rule, but it's a pretty rare use case anyway. Thanks for pointing this out, it was driving me crazy. On Thursday, July 20, 2017 at 2:47:12 AM UTC-4, Lyuben

Re: [go-nuts] Pointer dereference operator precedence

2017-07-19 Thread Ian Lance Taylor
On Wed, Jul 19, 2017 at 4:10 PM, wrote: > > The EBNF specifies the syntax, not the behavior. EBNF does not indicate the > order of evaluation of source code, only the order of characters in the > source code. Fair point. In this case it is also intended to indicate the

Re: [go-nuts] Pointer dereference operator precedence

2017-07-19 Thread adrian . price
The EBNF specifies the syntax, not the behavior. EBNF does not indicate the order *of *evaluation of source code, only the order of characters *in *the source code. On Wednesday, July 19, 2017 at 6:59:29 PM UTC-4, Ian Lance Taylor wrote: > > On Wed, Jul 19, 2017 at 3:28 PM,