From f3927d7bcc1540f8ea194b04b302260b03112de6 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 5 Oct 2017 20:41:43 +0200 Subject: files_map: rename Load_Source_File to Read_Source_File. --- src/files_map.adb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/files_map.adb') diff --git a/src/files_map.adb b/src/files_map.adb index 198c272d5..7d7676c81 100644 --- a/src/files_map.adb +++ b/src/files_map.adb @@ -791,7 +791,7 @@ package body Files_Map is -- Return an entry for a filename. -- Load the filename if necessary. - function Load_Source_File (Directory : Name_Id; Name: Name_Id) + function Read_Source_File (Directory : Name_Id; Name: Name_Id) return Source_File_Entry is use GNAT.OS_Lib; @@ -839,7 +839,7 @@ package body Files_Map is Buffer (Source_Ptr_Org + Length + 1) := EOT; Close (Fd); - -- Load_Source_File call must follow its Create_Source_File. + -- Read_Source_File call must follow its Create_Source_File. pragma Assert (Source_Files.Table (Res).First_Location = Next_Location); -- Compute the SHA1. @@ -871,7 +871,7 @@ package body Files_Map is Source_Files.Table (Res).File_Length := Integer (Length); return Res; - end Load_Source_File; + end Read_Source_File; procedure Free_Source_File (File : Source_File_Entry) is -- cgit v1.2.3