From: Tom Tromey <tro...@adacore.com> 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. Tested on x86_64-pc-linux-gnu, committed on master. --- .../doc/gnat_ugn/building_executable_programs_with_gnat.rst | 2 +- gcc/ada/gnat_ugn.texi | 4 ++-- gcc/ada/libgnat/g-spipat.ads | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst index 79da3c2cbcc..7968073a985 100644 --- a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst +++ b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst @@ -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 diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index bd2cb3e5629..b95519a8295 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -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 diff --git a/gcc/ada/libgnat/g-spipat.ads b/gcc/ada/libgnat/g-spipat.ads index 5766b3af686..297afbf5dee 100644 --- a/gcc/ada/libgnat/g-spipat.ads +++ b/gcc/ada/libgnat/g-spipat.ads @@ -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. -- 2.40.0