]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Minor comment fixes
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 26 Apr 2026 22:21:56 +0000 (00:21 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 2 Jun 2026 08:42:30 +0000 (10:42 +0200)
gcc/ada/ChangeLog:

* krunch.ads: Fix a few typos in the description.

gcc/ada/krunch.ads

index a38245d2d5860416b1c6e1f6cd2797d3948fee45..8b583a050627a1fa89dcf2aee562d33e2c403a4c 100644 (file)
 --                                                                          --
 ------------------------------------------------------------------------------
 
---  This procedure implements file name crunching
+--  This procedure implements file name crunching:
 
 --    First, the name is divided into segments separated by minus signs and
 --    underscores, then all minus signs and underscores are eliminated. If
 --    this leaves the name short enough, we are done.
 
---    If not, then the longest segment is located (left-most if there are
+--    If not, then the longest segment is located (leftmost if there are
 --    two of equal length), and shortened by dropping its last character.
 --    This is repeated until the name is short enough.
 
@@ -50,7 +50,7 @@
 --      ou  st      wi   fix         9
 --      ou  st      wi   fi          8
 
---      Final file name: OUSTWIFX.ADB
+--      Final file name: OUSTWIFI.ADB
 
 --    A special rule applies for children of System, Ada, Gnat, and Interfaces.
 --    In these cases, the following special prefix replacements occur:
@@ -81,7 +81,7 @@
 --      a-  st      wi   fix         9
 --      a-  st      wi   fi          8
 
---      Final file name: A-STWIFX.ADB
+--      Final file name: A-STWIFI.ADB
 
 --  Since children of units named A, G, I or S might conflict with the names
 --  of predefined units, the naming rule in that case is that the first hyphen