@@ -369,11 +369,11 @@ package body Gnatcheck.Rules.Rule_Table is
369369 return All_Rules.Contains (Rule) or else Is_Compiler_Rule (Rule);
370370 end Present ;
371371
372- -- ---------------------
373- -- Process_Rule_File --
374- -- ---------------------
372+ -- ----------------------------
373+ -- Process_Legacy_Rule_File --
374+ -- ----------------------------
375375
376- procedure Process_Rule_File (RF_Name : String) is
376+ procedure Process_Legacy_Rule_File (RF_Name : String) is
377377 RF : File_Type;
378378
379379 Rule_Start_Line : Natural := 1 ;
@@ -566,7 +566,8 @@ package body Gnatcheck.Rules.Rule_Table is
566566 else
567567 if Is_Regular_File (Rule_Buf (1 .. Rule_Len))
568568 then
569- Process_Rule_File (Rule_Buf (1 .. Rule_Len));
569+ Process_Legacy_Rule_File
570+ (Rule_Buf (1 .. Rule_Len));
570571 else
571572 Error
572573 (" can not locate rule file "
@@ -695,7 +696,7 @@ package body Gnatcheck.Rules.Rule_Table is
695696 end Set_File_Name ;
696697
697698 begin
698- -- Process_Rule_File
699+ -- Process_Legacy_Rule_File
699700
700701 if not Is_Regular_File (Rule_File_Name) then
701702 Error (" can not locate rule file " & Rule_File_Name);
@@ -757,7 +758,7 @@ package body Gnatcheck.Rules.Rule_Table is
757758 new String'(Get_Rule_File_Name (Rule_Buf (1 .. Rule_Len)));
758759
759760 if Is_Regular_File (Include_RF_Name.all ) then
760- Process_Rule_File (Include_RF_Name.all );
761+ Process_Legacy_Rule_File (Include_RF_Name.all );
761762 else
762763 Error
763764 (" can not locate rule file "
@@ -799,7 +800,7 @@ package body Gnatcheck.Rules.Rule_Table is
799800
800801 -- Exception info will be generated in main driver
801802 raise ;
802- end Process_Rule_File ;
803+ end Process_Legacy_Rule_File ;
803804
804805 -- --------------------------
805806 -- Process_LKQL_Rule_File --
0 commit comments