Skip to content

Commit

Permalink
=> is right associative
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn committed Feb 20, 2013
1 parent 9971aef commit e5f2581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.ml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ let precedence op =
| OpInterval -> 6, left
| OpBoolAnd -> 7, left
| OpBoolOr -> 8, left
| OpArrow -> 9, left
| OpArrow -> 9, right
| OpAssign | OpAssignOp _ -> 10, right

let is_not_assign = function
Expand Down

0 comments on commit e5f2581

Please sign in to comment.