1${declare set_op_priority_from_rule}
2S : S '+' S $left 2 | S S $left 1 | '+' S $unary_right 3 | 'x';
3