[Ada] Fix typo on "that"
authorEtienne Servais <servais@adacore.com>
Wed, 16 Feb 2022 17:49:01 +0000 (18:49 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 13 May 2022 08:04:27 +0000 (08:04 +0000)
gcc/ada/

* sem_ch3.adb (Analyze_Subtype_Declaration): Fix typo in
comment.

gcc/ada/sem_ch3.adb

index 29aa3be..b81216c 100644 (file)
@@ -5435,7 +5435,7 @@ package body Sem_Ch3 is
       --  Finally this happens in some complex cases when validity checks are
       --  enabled, where the same subtype declaration may be analyzed twice.
       --  This can happen if the subtype is created by the preanalysis of
-      --  an attribute tht gives the range of a loop statement, and the loop
+      --  an attribute that gives the range of a loop statement, and the loop
       --  itself appears within an if_statement that will be rewritten during
       --  expansion.