diff options
Diffstat (limited to 'gcc/ada/style.adb')
| -rw-r--r-- | gcc/ada/style.adb | 14 | 
1 files changed, 8 insertions, 6 deletions
diff --git a/gcc/ada/style.adb b/gcc/ada/style.adb index 6e5688d..56d1060 100644 --- a/gcc/ada/style.adb +++ b/gcc/ada/style.adb @@ -345,12 +345,14 @@ package body Style is     begin        if Style_Check_Xtra_Parens_Precedence          and then -          Paren_Count (N) > -            (if Nkind (N) in N_Case_Expression -                           | N_Expression_With_Actions -                           | N_If_Expression -                           | N_Quantified_Expression -                           | N_Raise_Expression +          Paren_Count (Original_Node (N)) > +            (if Nkind (Original_Node (N)) in N_Case_Expression +                                           | N_Expression_With_Actions +                                           | N_If_Expression +                                           | N_Quantified_Expression +                                           | N_Raise_Expression +                                           | N_In +                                           | N_Not_In               then 1               else 0)        then  | 
