Hi, Here's my coccinelle script to parentheses around the right hand side of an assignment. @@ expression e, e1, e2; @@ e = -( e1 + e2 -) @@ expression e, e1, e2; @@ e = -( e1 - e2 -) @@ expression e, e1; contant c; @@ e = -( e1 << c -) @@ expression e, e1; constant c; @@ e = -( e1 >> c -) thanks, gargi