Module: wine Branch: master Commit: b599d2596b5a8ad2d914dbbc33e2e3fe08ad63fe URL: http://source.winehq.org/git/wine.git/?a=commit;h=b599d2596b5a8ad2d914dbbc33...
Author: Rob Shearman rob@codeweavers.com Date: Tue Apr 22 11:35:27 2008 +0100
widl: Fix operator precedence in expressions.
---
tools/widl/parser.y | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 31f631f..709c861 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -292,15 +292,11 @@ static void add_explicit_handle_if_necessary(func_t *func); %right '?' ':' %left '|' %left '&' +%left SHL SHR %left '-' '+' %left '*' '/' '%' -%left SHL SHR +%right '~' CAST PPTR NEG ADDRESSOF tSIZEOF %left '.' MEMBERPTR '[' ']' -%right '~' -%right CAST -%right PPTR -%right NEG -%right ADDRESSOF
%%