]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix typo in "pattern"
authorTom Tromey <tromey@adacore.com>
Tue, 24 Jan 2023 18:58:30 +0000 (11:58 -0700)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 16 May 2023 08:30:57 +0000 (10:30 +0200)
I found a couple of spots using the typo "patterm" rather than the
correct "pattern".

gcc/ada/

* doc/gnat_ugn/building_executable_programs_with_gnat.rst
(Switches_for_gnatbind): Fix typo.
* libgnat/g-spipat.ads: Fix typo.
* gnat_ugn.texi: Regenerate.

gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
gcc/ada/gnat_ugn.texi
gcc/ada/libgnat/g-spipat.ads

index 79da3c2cbccffadc1ecf92f274a74149ed885624..7968073a9859d5b010ff2ab66ab71c59f41e7206 100644 (file)
@@ -6806,7 +6806,7 @@ be presented in subsequent sections.
 
     The underlying scalar is set to a value consisting of repeated bytes, whose
     value corresponds to the given value. For example if ``BF`` is given,
-    then a 32-bit scalar value will be set to the bit patterm ``16#BFBFBFBF#``.
+    then a 32-bit scalar value will be set to the bit pattern ``16#BFBFBFBF#``.
 
   .. index:: GNAT_INIT_SCALARS
 
index bd2cb3e56292d41018b41220648ade2bcb86fbcf..b95519a8295b07d6023632400facf48f052d64c4 100644 (file)
@@ -16030,7 +16030,7 @@ one bits. For floating-point, a large value is set
 
 The underlying scalar is set to a value consisting of repeated bytes, whose
 value corresponds to the given value. For example if @code{BF} is given,
-then a 32-bit scalar value will be set to the bit patterm @code{16#BFBFBFBF#}.
+then a 32-bit scalar value will be set to the bit pattern @code{16#BFBFBFBF#}.
 @end itemize
 
 @geindex GNAT_INIT_SCALARS
@@ -29466,8 +29466,8 @@ to permit their use in free software.
 
 @printindex ge
 
-@anchor{cf}@w{                              }
 @anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
+@anchor{cf}@w{                              }
 
 @c %**end of body
 @bye
index 5766b3af686250e54256ef3df9ad8f9cfb36b5fc..297afbf5deeec07ce0c414db9f5e168639930d26 100644 (file)
@@ -58,7 +58,7 @@
 --       stored in a binary compatible manner.
 
 --     GNAT.Spitbol.Patterns (files g-spipat.ads/g-spipat.adb)
---       This is a completely general patterm matching package based on the
+--       This is a completely general pattern matching package based on the
 --       pattern language of SNOBOL4, as implemented in SPITBOL. The pattern
 --       language is modeled on context free grammars, with context sensitive
 --       extensions that provide full (type 0) computational capabilities.