Structure property bug?

Steven Schveighoffer schveiguy at yahoo.com
Thu Oct 4 08:09:43 PDT 2007


"Regan Heath" wrote
> Steven Schveighoffer wrote:
>> BTW, I looked through the entire spec, and cannot find operator 
>> precedence anywhere.  Anyone know where it is?
>
> It's not ideal but you can figure out precedence by looking at:
> http://www.digitalmars.com/d/expression.html
>
> The first operator mentioned is , and it has the lowest precedence (due to 
> how the syntax tree is parsed - I think).
>

I think you are right about this, but it is VERY subtle.  I had to read it 
for about 20 minutes before I understood what you are talking about.

It would be nice to have a table at the end, which summarizes the 
precedence.  Walter?

-Steve 





More information about the Digitalmars-d mailing list