]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gnatfind.adb, [...]: Fix argument parsing typos.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 2 Mar 2008 22:39:38 +0000 (22:39 +0000)
committerRalf Wildenhues <rwild@gcc.gnu.org>
Sun, 2 Mar 2008 22:39:38 +0000 (22:39 +0000)
gcc/ada

* gnatfind.adb, gnatxref.adb: Fix argument parsing typos.
* s-auxdec-empty.adb, s-auxdec.adb: Fix typos in copyright
statement.
* a-ngcoar.adb, a-ngrear.adb, g-awk.adb, g-debpoo.adb,
gprep.adb, make.adb, makegpr.adb, par-ch6.adb, prj-nmsc.adb,
sem_attr.adb, sem_ch4.adb, sem_ch8.adb: Fix typos in ada source
code output strings.
* sem_type.adb, system-vms-ia64.ads, system-vms.ads,
system-vms_64.ads: Fix typos in ada source code comments.
* sinfo-cn.adb: Remove incomplete sentence.

From-SVN: r132822

22 files changed:
gcc/ada/ChangeLog
gcc/ada/a-ngcoar.adb
gcc/ada/a-ngrear.adb
gcc/ada/g-awk.adb
gcc/ada/g-debpoo.adb
gcc/ada/gnatfind.adb
gcc/ada/gnatxref.adb
gcc/ada/gprep.adb
gcc/ada/make.adb
gcc/ada/makegpr.adb
gcc/ada/par-ch6.adb
gcc/ada/prj-nmsc.adb
gcc/ada/s-auxdec-empty.adb
gcc/ada/s-auxdec.adb
gcc/ada/sem_attr.adb
gcc/ada/sem_ch4.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_type.adb
gcc/ada/sinfo-cn.adb
gcc/ada/system-vms-ia64.ads
gcc/ada/system-vms.ads
gcc/ada/system-vms_64.ads

index 0657b211d7271dc8d37ef3b186c787650149767b..d990e1005e835183b6f476a952736a98cf792c46 100644 (file)
@@ -1,5 +1,16 @@
 2008-03-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * gnatfind.adb, gnatxref.adb: Fix argument parsing typos.
+       * s-auxdec-empty.adb, s-auxdec.adb: Fix typos in copyright
+       statement.
+       * a-ngcoar.adb, a-ngrear.adb, g-awk.adb, g-debpoo.adb,
+       gprep.adb, make.adb, makegpr.adb, par-ch6.adb, prj-nmsc.adb,
+       sem_attr.adb, sem_ch4.adb, sem_ch8.adb: Fix typos in ada source
+       code output strings.
+       * sem_type.adb, system-vms-ia64.ads, system-vms.ads,
+       system-vms_64.ads: Fix typos in ada source code comments.
+       * sinfo-cn.adb: Remove incomplete sentence.
+
        PR documentation/15479
        * gnat_rm.texi, gnat_ugn.texi: Avoid standalone `non' word.
 
index 47f4db3674b26c7747f86f2324d61fb742836bd7..4d875283a60f7b23a6e2615c0d9e3be4d72ada95 100644 (file)
@@ -1194,7 +1194,7 @@ package body Ada.Numerics.Generic_Complex_Arrays is
             Info     => Info'Access);
 
          if Info /= 0 then
-            raise Constraint_Error with "inverting non-Hermetian matrix";
+            raise Constraint_Error with "inverting non-Hermitian matrix";
          end if;
 
          for J in Values'Range loop
index 098d5a9a2c5b2f95be8b4adf3896109931271066..30eb1365b1dafd81edc0bc8ef2275b69a1f0081b 100644 (file)
@@ -368,7 +368,7 @@ package body Ada.Numerics.Generic_Real_Arrays is
    begin
       if Left'Length (2) /= Right'Length (1) then
          raise Constraint_Error with
-            "incompatible dimensions in matrix-matrix multipication";
+            "incompatible dimensions in matrix-matrix multiplication";
       end if;
 
       gemm (Trans_A => No_Trans'Access,
index 4239bb38990febd9832f840aca928207669cf58d..57045bf5661c41a6cd494196c3b00364561e75c0 100644 (file)
@@ -644,7 +644,7 @@ package body GNAT.AWK is
       when others =>
          Raise_With_Info
            (File_Error'Identity,
-            "Error scaning directory " & Directory
+            "Error scanning directory " & Directory
             & " for files " & Filenames & '.',
             Session);
    end Add_Files;
index fa127470712284b7df4fc97bad7235adc71bb3b6..dc4896c4621da436372e218ba9732e8b29e3e1a1 100644 (file)
@@ -1388,7 +1388,7 @@ package body GNAT.Debug_Pools is
 
       if Pool.Marked_Blocks_Deallocated then
          Put_Line ("Marked blocks were physically deallocated. This is");
-         Put_Line ("potentially dangereous, and you might want to run");
+         Put_Line ("potentially dangerous, and you might want to run");
          Put_Line ("again with a lower value of Minimum_To_Free");
       end if;
 
index 21ba0cbc3ba58aaa9320bd1b5e14c794fb404857..a0e05a88d2df984f34662785ae20b96a193fbc23 100644 (file)
@@ -131,7 +131,7 @@ procedure Gnatfind is
             when 'n'    =>
                if GNAT.Command_Line.Full_Switch = "nostdinc" then
                   Opt.No_Stdinc := True;
-               elsif GNAT.Command_Line.Full_Switch = "nostlib" then
+               elsif GNAT.Command_Line.Full_Switch = "nostdlib" then
                   Opt.No_Stdlib := True;
                end if;
 
index af61ef7c0bb0f923d73f2b595ad5e3586e5a5679..b2225ff458c8547b16a2397c5c3133a2c122d0e5 100644 (file)
@@ -114,7 +114,7 @@ procedure Gnatxref is
             when 'n' =>
                if GNAT.Command_Line.Full_Switch = "nostdinc" then
                   Opt.No_Stdinc := True;
-               elsif GNAT.Command_Line.Full_Switch = "nostlib" then
+               elsif GNAT.Command_Line.Full_Switch = "nostdlib" then
                   Opt.No_Stdlib := True;
                end if;
 
index 1aed7ef701feb058cb90190af1af543c2b319293..a08ea7dce3d5b555ab67c87ed700ef48b81fec7e 100644 (file)
@@ -778,7 +778,7 @@ package body GPrep is
             elsif Deffile_Name = No_Name then
                Deffile_Name := Name_Find;
             else
-               Fail ("too many arguments specifed");
+               Fail ("too many arguments specified");
             end if;
          end;
       end loop;
index cfccbef89c3b43712aa6bcdcf721f1c69a849034..ff14dc40a2967ed1b94e541e842feecabfa7e1c7 100644 (file)
@@ -6716,7 +6716,7 @@ package body Make is
       --  Test for simultaneity of -i and -D
 
       if Object_Directory_Path /= null and then In_Place_Mode then
-         Make_Failed ("-i and -D cannot be used simutaneously");
+         Make_Failed ("-i and -D cannot be used simultaneously");
       end if;
 
       --  Deal with -C= switch
index e8848846958099b8a29fcae54ffa577b17e8a806..c6c39cd74b0b4502a04978cb122a17c959f103f8 100644 (file)
@@ -3030,7 +3030,7 @@ package body Makegpr is
 
             else
                Osint.Fail
-                 ("unknow compiler name for language """,
+                 ("unknown compiler name for language """,
                   Get_Name_String (Language_Names.Table (For_Language)),
                   """");
             end if;
index fee646514be6a91206cd9c088c778d7d0b8c50ea..b2ae242c5179143b8d56659ced18dbe06c9a5dde 100644 (file)
@@ -280,7 +280,7 @@ package body Ch6 is
 
          if Token = Tok_New then
             if not Pf_Flags.Gins then
-               Error_Msg_SC ("generic instantation not allowed here!");
+               Error_Msg_SC ("generic instantiation not allowed here!");
             end if;
 
             Scan; -- past NEW
@@ -1289,7 +1289,7 @@ package body Ch6 is
       end if;
 
       if Token = Tok_In then
-         Error_Msg_SC ("IN must preceed OUT in parameter mode");
+         Error_Msg_SC ("IN must precede OUT in parameter mode");
          Scan; -- past IN
          Set_In_Present (Node, True);
       end if;
index 128913b8822386660dd7c0f7ba90851e77289cbb..ecad20dd8c23a0de150a0530c301b17e27d3f8f7 100644 (file)
@@ -5171,7 +5171,7 @@ package body Prj.Nmsc is
                   Error_Msg
                     (Project, In_Tree,
                      "symbol file name { is illegal. " &
-                     "Name canot include directory info.",
+                     "Name cannot include directory info.",
                      Lib_Symbol_File.Location);
                end if;
             end if;
index 57fa5812c1d8b2736f42c26a08434bda03076fed..dd380a812a4615276624cebf7529a0f32c844219 100644 (file)
@@ -13,8 +13,8 @@
 -- ware  Foundation;  either version 2,  Or (at your option) any later ver- --
 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
--- Or FITNESS FOr A PARTICULAR PURPOSE.  See the GNU General Public License --
--- fOr  mOre details.  You should have  received  a copy of the GNU General --
+-- OR FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
+-- for  more details.  You should have  received  a copy of the GNU General --
 -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
 -- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
 -- Boston, MA 02110-1301, USA.                                              --
index 5bde295d6b5419095d95f564683c3772fae227d2..ed72432295863d2d0c3e671be90e59a480d20acf 100644 (file)
@@ -13,8 +13,8 @@
 -- ware  Foundation;  either version 2,  Or (at your option) any later ver- --
 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
--- Or FITNESS FOr A PARTICULAR PURPOSE.  See the GNU General Public License --
--- fOr  mOre details.  You should have  received  a copy of the GNU General --
+-- OR FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
+-- for  more details.  You should have  received  a copy of the GNU General --
 -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
 -- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
 -- Boston, MA 02110-1301, USA.                                              --
index 4bfce0c6cb909cc6d8ac5e89987780f2ed5c8f6e..8fc203333a945e49d7449c850edd6692778208cb 100644 (file)
@@ -2191,7 +2191,7 @@ package body Sem_Attr is
            and then Warn_On_Redundant_Constructs
          then
                Error_Msg_NE
-                 ("?redudant attribute, & is its own base type", N, Typ);
+                 ("?redundant attribute, & is its own base type", N, Typ);
          end if;
 
          Set_Etype (N, Base_Type (Entity (P)));
index ebfdccf86ad97c7613f99c3a2cc100c2e3ace429..49a1699be5133dfbd37bd691cf590701e6805c0c 100644 (file)
@@ -1781,7 +1781,7 @@ package body Sem_Ch4 is
          end loop;
 
          if Etype (N) = Any_Type then
-            Error_Msg_N ("no legal interpetation for indexed component", N);
+            Error_Msg_N ("no legal interpretation for indexed component", N);
             Set_Is_Overloaded (N, False);
          end if;
 
index 0a4ac8e0cd6b67c282a9c95a9dd4723514384226..609f5575320d6eca9f9cf8c5833b7078237bfe89 100644 (file)
@@ -5257,7 +5257,7 @@ package body Sem_Ch8 is
                     and then False
                   then
                      Error_Msg_N
-                       ("applying 'Class to an untagged imcomplete type"
+                       ("applying 'Class to an untagged incomplete type"
                          & " is an obsolescent feature  (RM J.11)", N);
                   end if;
 
@@ -5347,7 +5347,7 @@ package body Sem_Ch8 is
                  and then Warn_On_Redundant_Constructs
                then
                   Error_Msg_NE
-                    ("?redudant attribute, & is its own base type", N, Typ);
+                    ("?redundant attribute, & is its own base type", N, Typ);
                end if;
 
                T := Base_Type (Typ);
index c5ae359e7fe47099e05178aa97d06d00c9a48066..bff22c411bcee4742e9f4231b28a16849390e7d3 100644 (file)
@@ -1515,7 +1515,7 @@ package body Sem_Type is
       end if;
 
       --  Check for overloaded CIL convention stuff because the CIL libraries
-      --  do sick things like Console.WriteLine where it matches
+      --  do sick things like Console.Write_Line where it matches
       --  two different overloads, so just pick the first ???
 
       if Convention (Nam1) = Convention_CIL
index e79c40a4420fa0b251400beb1504196efa856e19..14f6e11134ffb672ab84b6d19be4d125e9178bf3 100644 (file)
@@ -29,7 +29,6 @@
 --  record discriminant part, such alterations cannot be permitted in a
 --  general manner, but in some specific cases, the fields of related nodes
 --  have been deliberately layed out in a manner that permits such alteration.
---  that determin
 
 with Atree; use Atree;
 
index 83326521c52c5bdb05351f9faa56b0cf4ae5fb3d..6ba59a3bd3e8968d39917809d2bd9ee63397ac07 100644 (file)
@@ -250,7 +250,7 @@ private
 
    ADA_GNAT : constant Boolean := True;
    pragma Export_Object (ADA_GNAT, "ADA$GNAT");
-   --  Uniquitous global symbol identifing a GNAT compiled image to VMS Debug.
+   --  Ubiquitous global symbol identifying a GNAT compiled image to VMS Debug.
    --  Do not remove!
 
 end System;
index 65efd10d827d4abe29a909a0c174fd35d95e19e5..7f95154fa3924c46c25946685735148e8c89cf8d 100644 (file)
@@ -233,7 +233,7 @@ private
 
    ADA_GNAT : constant Boolean := True;
    pragma Export_Object (ADA_GNAT, "ADA$GNAT");
-   --  Uniquitous global symbol identifing a GNAT compiled image to VMS Debug.
+   --  Ubiquitous global symbol identifying a GNAT compiled image to VMS Debug.
    --  Do not remove!
 
 end System;
index 67eb5c2b40f39465c1e27a9cdcf9a551b19ef859..4830378f2fc7c6c5a8fd84fabd278a10ed132953 100644 (file)
@@ -250,7 +250,7 @@ private
 
    ADA_GNAT : constant Boolean := True;
    pragma Export_Object (ADA_GNAT, "ADA$GNAT");
-   --  Uniquitous global symbol identifing a GNAT compiled image to VMS Debug.
+   --  Ubiquitous global symbol identifying a GNAT compiled image to VMS Debug.
    --  Do not remove!
 
 end System;