[PATCH 09/17] widl: Split the expr rule up into multiple rules to fix operator precedence.

Robert Shearman rob at codeweavers.com
Mon Apr 21 08:33:20 CDT 2008

Alexandre Julliard wrote:
> You shouldn't need that, the %left/%right declarations should define the
> correct precedence already. Why doesn't this work for you?

I was attempting to fix the attached case. The result of the expression 
evaluation can be seen in the generated _c.c file by searching for "/* 
Corr desc:  constant, val=".

I see that the issue is that the %left and %right declarations aren't in 
the correct order (and some aren't grouped properly either).

So this bug can indeed be fixed without splitting up expr into multiple 

Rob Shearman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: expr_test.idl
Type: text/x-idl
Size: 192 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080421/c7cc0d4e/attachment.bin 

More information about the wine-devel mailing list