@@ -245,7 +245,7 @@ package body Gnatcheck.Compiler is
245245 else
246246 Diag (Diag'First .. Idx - 1 )
247247 & Diag (Idx + 9 .. Diag'Last))),
248- when Style =>
248+ when Style =>
249249 (declare
250250 Idx : constant Natural := Index (Diag, " (style) " );
251251 begin
@@ -254,7 +254,7 @@ package body Gnatcheck.Compiler is
254254 else
255255 Diag (Diag'First .. Idx - 1 )
256256 & Diag (Idx + 8 .. Diag'Last))),
257- when others => Diag);
257+ when others => Diag);
258258
259259 Last_Idx : Natural;
260260 Diag_End : Natural;
@@ -672,7 +672,7 @@ package body Gnatcheck.Compiler is
672672 pragma Assert (False);
673673 return " " ;
674674
675- when Warning =>
675+ when Warning =>
676676 if Parameter = " " then
677677 return " [warnings]" ;
678678 elsif Warning_To_Instance.Contains (Parameter)
@@ -688,7 +688,7 @@ package body Gnatcheck.Compiler is
688688 return " [warnings:" & Parameter & " ]" ;
689689 end if ;
690690
691- when Style =>
691+ when Style =>
692692 if Parameter = " " then
693693 return " [style_checks]" ;
694694 elsif Style_To_Instance.Contains (Parameter)
@@ -704,7 +704,7 @@ package body Gnatcheck.Compiler is
704704 return " [style_checks:" & Parameter & " ]" ;
705705 end if ;
706706
707- when Restriction =>
707+ when Restriction =>
708708 if Restriction_To_Instance.Contains (Parameter)
709709 and then Restriction_To_Instance (Parameter) /= " restrictions"
710710 then
@@ -714,7 +714,7 @@ package body Gnatcheck.Compiler is
714714 return " [restrictions]" ;
715715 end if ;
716716
717- when Error =>
717+ when Error =>
718718 return " [errors]" ;
719719 end case ;
720720 end Annotation ;
@@ -767,7 +767,7 @@ package body Gnatcheck.Compiler is
767767 for R in Special_Restriction_Setting'Range loop
768768 if Special_Restriction_Setting (R) then
769769 case R is
770- when No_Dependence =>
770+ when No_Dependence =>
771771 Forbidden_Units_Dictionary.Reset_Iterator;
772772
773773 while not Forbidden_Units_Dictionary.Done loop
@@ -777,7 +777,7 @@ package body Gnatcheck.Compiler is
777777 Add_Line (Forbidden_Units_Dictionary.Next_Entry & " );" );
778778 end loop ;
779779
780- when No_Use_Of_Entity =>
780+ when No_Use_Of_Entity =>
781781 Forbidden_Entities_Dictionary.Reset_Iterator;
782782
783783 while not Forbidden_Entities_Dictionary.Done loop
@@ -841,13 +841,13 @@ package body Gnatcheck.Compiler is
841841 pragma Assert (False);
842842 return No_Rule_Id;
843843
844- when Warning =>
844+ when Warning =>
845845 return Warnings_Id;
846846
847- when Style =>
847+ when Style =>
848848 return Style_Checks_Id;
849849
850- when Restriction =>
850+ when Restriction =>
851851 return Restrictions_Id;
852852 end case ;
853853 end Get_Rule_Id ;
@@ -1085,15 +1085,15 @@ package body Gnatcheck.Compiler is
10851085 for R in Special_Restriction_Setting'Range loop
10861086 if Special_Restriction_Setting (R) then
10871087 case R is
1088- when No_Dependence =>
1088+ when No_Dependence =>
10891089 Forbidden_Units_Dictionary.Reset_Iterator;
10901090 while not Forbidden_Units_Dictionary.Done loop
10911091 Append_Elem
10921092 (" No_Dependence => "
10931093 & Forbidden_Units_Dictionary.Next_Entry);
10941094 end loop ;
10951095
1096- when No_Use_Of_Entity =>
1096+ when No_Use_Of_Entity =>
10971097 Forbidden_Entities_Dictionary.Reset_Iterator;
10981098 while not Forbidden_Entities_Dictionary.Done loop
10991099 Append_Elem
@@ -1302,7 +1302,7 @@ package body Gnatcheck.Compiler is
13021302 -- Special_R_Id /= Not_A_Special_Restriction_Id
13031303
13041304 case Special_R_Id is
1305- when No_Dependence =>
1305+ when No_Dependence =>
13061306 if not Arg_Present then
13071307 Instance.Error
13081308 (" Restrictions rule parameter: "
@@ -1317,7 +1317,7 @@ package body Gnatcheck.Compiler is
13171317 Forbidden_Units_Dictionary.Add_To_Dictionary
13181318 (Trim (Param (Last_Idx .. Param'Last), Both));
13191319
1320- when No_Use_Of_Entity =>
1320+ when No_Use_Of_Entity =>
13211321 if not Arg_Present then
13221322 Instance.Error
13231323 (" Restrictions rule parameter: "
@@ -1332,7 +1332,7 @@ package body Gnatcheck.Compiler is
13321332 Forbidden_Entities_Dictionary.Add_To_Dictionary
13331333 (Trim (Param (Last_Idx .. Param'Last), Both));
13341334
1335- when No_Specification_Of_Aspect =>
1335+ when No_Specification_Of_Aspect =>
13361336 if not Arg_Present then
13371337 Instance.Error
13381338 (" Restrictions rule parameter: "
@@ -1463,13 +1463,13 @@ package body Gnatcheck.Compiler is
14631463 -- -gnatyLxx and -gnatyMxxx are represented respectively by
14641464 -- "L" and "M". Skip all digits directly after the flag.
14651465
1466- when ' L' | ' M' =>
1466+ when ' L' | ' M' =>
14671467 while I < Param'Last and then Param (I + 1 ) in ' 0' .. ' 9'
14681468 loop
14691469 I := I + 1 ;
14701470 end loop ;
14711471
1472- when others =>
1472+ when others =>
14731473 null ;
14741474 end case ;
14751475
@@ -2102,7 +2102,7 @@ package body Gnatcheck.Compiler is
21022102 for R in Special_Restriction_Setting'Range loop
21032103 if Special_Restriction_Setting (R) then
21042104 case R is
2105- when No_Dependence =>
2105+ when No_Dependence =>
21062106 Forbidden_Units_Dictionary.Reset_Iterator;
21072107
21082108 while not Forbidden_Units_Dictionary.Done loop
@@ -2113,7 +2113,7 @@ package body Gnatcheck.Compiler is
21132113 Indent_Level + 1 );
21142114 end loop ;
21152115
2116- when No_Use_Of_Entity =>
2116+ when No_Use_Of_Entity =>
21172117 Forbidden_Entities_Dictionary.Reset_Iterator;
21182118
21192119 while not Forbidden_Entities_Dictionary.Done loop
0 commit comments