exp_intr.adb, [...]: Minor fix to error message text
authorRobert Dewar <dewar@adacore.com>
Thu, 16 Jun 2005 08:38:22 +0000 (10:38 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 16 Jun 2005 08:38:22 +0000 (10:38 +0200)
2005-06-14  Robert Dewar  <dewar@adacore.com>

* exp_intr.adb, par-ch5.adb: Minor fix to error message text

From-SVN: r101036

gcc/ada/exp_intr.adb
gcc/ada/par-ch5.adb

index b46b8f09c7d218b32374ba3360f54dd37b96e485..6d5b3da90d41a94243f86604a5cd71599418e6c2 100644 (file)
@@ -735,7 +735,7 @@ package body Exp_Intr is
                  and then Is_Entity_Name (Nam2)
                  and then Entity (Prefix (Nam1)) = Entity (Nam2)
                then
-                  Error_Msg_N ("Abort may take time to complete?", N);
+                  Error_Msg_N ("abort may take time to complete?", N);
                   Error_Msg_N ("\deallocation might have no effect?", N);
                   Error_Msg_N ("\safer to wait for termination.?", N);
                end if;
index 6293ad6ba6b86c8329f15869e192bec35281d100..c0298ae82018cba19490e6a8240f260ab830924a 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2004, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -1215,7 +1215,7 @@ package body Ch5 is
                --  Here we have an else that really is an else
 
                if Present (Else_Statements (If_Node)) then
-                  Error_Msg_SP ("Only one ELSE part allowed");
+                  Error_Msg_SP ("only one ELSE part allowed");
                   Append_List
                     (P_Sequence_Of_Statements (SS_Eftm_Eltm_Sreq),
                      Else_Statements (If_Node));