From: Geert Bosch Date: Sun, 15 Dec 2002 17:32:01 +0000 (+0100) Subject: * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2f97d3eb5dedb09bf93a2e12ab7355346989d66;p=gcc.git * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting From-SVN: r60159 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index ed23cf931b8..834922e2363 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2002-12-15 Geert Bosch + + * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting + 2002-12-14 Geert Bosch * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb index 650f19cbc6c..c8e79b8376f 100644 --- a/gcc/ada/sem_ch6.adb +++ b/gcc/ada/sem_ch6.adb @@ -1057,14 +1057,14 @@ package body Sem_Ch6 is if Present (Spec_Decl) and then not Comes_From_Source (N) - and then (Nkind (Original_Node (Spec_Decl)) = - N_Subprogram_Renaming_Declaration - - or else (Present (Corresponding_Body (Spec_Decl)) - and then Nkind - (Unit_Declaration_Node (Corresponding_Body (Spec_Decl))) = + N_Subprogram_Renaming_Declaration)) + N_Subprogram_Renaming_Declaration + or else (Present (Corresponding_Body (Spec_Decl)) + and then + Nkind (Unit_Declaration_Node + (Corresponding_Body (Spec_Decl))) = + N_Subprogram_Renaming_Declaration)) then Conformant := True; else