antlr/grammars-v4 — pull request #47 by bkiers (2014-04-15 18:07:42+00:00)
Title: Fixed operator precedence

Placed all operators inside the `expr` rule to get the expected operator precedence.

Changed:

expr
: ...
| expr binop expr
| ...
;

binop
: '+' | '-' | AND | OR | ...
;

to

expr
: ...
| expr ('+' | '-') expr
| expr AND expr
| expr OR expr
| ...
;